|
|
@ -45,14 +45,14 @@ Possible to install on: |
|
|
|
|
|
|
|
|
|
|
|
* [git](https://git-scm.com/download/linux) |
|
|
|
* [git](https://git-scm.com/download/linux) |
|
|
|
* [nodejs >= 6.14](https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions) |
|
|
|
* [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 |
|
|
|
#### Installation |
|
|
|
```bash |
|
|
|
```bash |
|
|
|
pip3 install -r analytics/requirements.txt |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
git clone https://github.com/hastic/hastic-server.git |
|
|
|
git clone https://github.com/hastic/hastic-server.git |
|
|
|
cd ./hastic-server/server |
|
|
|
cd hastic-server |
|
|
|
|
|
|
|
pip3 install -r analytics/requirements.txt |
|
|
|
|
|
|
|
cd server |
|
|
|
npm install |
|
|
|
npm install |
|
|
|
npm run build |
|
|
|
npm run build |
|
|
|
``` |
|
|
|
``` |
|
|
@ -79,7 +79,7 @@ You can also rename `config.example.json` to `config.json` and set your values t |
|
|
|
|
|
|
|
|
|
|
|
#### Run |
|
|
|
#### Run |
|
|
|
```bash |
|
|
|
```bash |
|
|
|
cd ./hastic-server/server |
|
|
|
cd hastic-server/server |
|
|
|
npm start |
|
|
|
npm start |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|