blob: 6b76f987cd329f164e6bdeff53c44a4b1423ef5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# cortex
### Requirements
* Node.js 6+
* MySQL
* Python 2.7
* Tensorflow 1.2
### Installation
Copy `.env-sample` to `.env` and edit as appropriate.
```
npm install
npm install knex pm2 -g
knex migrate:latest
```
### Running the server
Run these commands in separate tabs:
```
npm start
npm run worker
webpack
```
The server will be running on http://lvh.me:5858/ or whichever port is specified in `.env`
|