README.md 1.41 KB
Newer Older
Gicquel's avatar
Gicquel committed
1
2
# Getting started

Gicquel's avatar
Gicquel committed
3
### Setup your dev environment
Gicquel's avatar
Gicquel committed
4
5

* Install node \([https://nodejs.org/en/download/](https://nodejs.org/en/download/)\)
Gicquel's avatar
Gicquel committed
6
* Install vue/@cli and pm2
Gicquel's avatar
Gicquel committed
7
8
9

```
$ npm i -g vue/@cli
Gicquel's avatar
Gicquel committed
10
$ npm i -g pm2
Gicquel's avatar
Gicquel committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
```

{% hint style="info" %}
 You may have to sudo.
{% endhint %}

* Install mongo \([https://docs.mongodb.com/manual/installation/\#mongodb-community-edition-installation-tutorials](https://docs.mongodb.com/manual/installation/#mongodb-community-edition-installation-tutorials)\)

Test if all is OK

{% code title="$ sudo service mongod start" %}
```bash
mongo>
```
{% endcode %}

```bash
$ vue-ui
//triggers a browser tool
```

### Get the last version of Albiziapp front end

```bash
$ git clone https://github.com/gick/albiziapp.git
$ cd albiziapp
$ npm install
Gicquel's avatar
Gicquel committed
38
$ npm run serve
Gicquel's avatar
Gicquel committed
39
40
41
42
```

If all goes well you should be directed to a page like this :

43
![](../../.gitbook/assets/image%20%2811%29.png)
44

Gicquel's avatar
Gicquel committed
45
46


Gicquel's avatar
Gicquel committed
47
48
49
50
51
52
53
54
55
56


### Get the last version of Albiziapp back-end

```bash
$ git clone https://github.com/REVERIES-project/reveries-osm-data.git
$ cd reveries-osm-data
$ npm install
```

Gicquel's avatar
Gicquel committed
57
58
59
60
61
62
63
64
### Get Vue DevTools

Vue DevTools is an extension for Chromium/Chrome. **It is very very very useful**. If you don't like Chromium, code your own browser that accepts Vue DevTools

[https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd](https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd)