|
|
|
@ -45,15 +45,15 @@ Possible to install on:
|
|
|
|
|
|
|
|
|
|
* [git](https://git-scm.com/download/linux) |
|
|
|
|
* [nodejs >= 6.14](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions) |
|
|
|
|
* [python >= 3.6.5](https://www.python.org/downloads/) with [pip3](https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers) |
|
|
|
|
* [python == 3.6.х](https://www.python.org/downloads/) with [pip3](https://packaging.python.org/guides/installing-using-linux-tools/#installing-pip-setuptools-wheel-with-linux-package-managers) |
|
|
|
|
|
|
|
|
|
#### Installation |
|
|
|
|
```bash |
|
|
|
|
pip3 install -r analytics/requirements.txt |
|
|
|
|
|
|
|
|
|
git clone https://github.com/hastic/hastic-server.git |
|
|
|
|
cd ./hastic-server/server |
|
|
|
|
npm install |
|
|
|
|
cd hastic-server |
|
|
|
|
pip3 install -r analytics/requirements.txt |
|
|
|
|
cd server |
|
|
|
|
npm install |
|
|
|
|
npm run build |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
@ -79,7 +79,7 @@ You can also rename `config.example.json` to `config.json` and set your values t
|
|
|
|
|
|
|
|
|
|
#### Run |
|
|
|
|
```bash |
|
|
|
|
cd ./hastic-server/server |
|
|
|
|
cd hastic-server/server |
|
|
|
|
npm start |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|