You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web frontend for the [`cesium` library](https://github.com/cesium-ml/cesium). Within the browser, users can upload time series data data, extract features, fit a model, and generate predictions for new data.
8
8
@@ -25,36 +25,26 @@ The easiest way to try the web app is to run it through Docker:
3. On Linux, it may be necessary to configure your database permissions: at the end of your `pg_hba.conf` (typically in `/etc/postgresql/9.5/main`), add the following lines:
48
-
49
-
```
50
-
local all postgres peer
51
-
local cesium cesium trust
52
-
local cesium_test cesium trust
53
-
```
54
-
and restart `postgresl` (`sudo service postgresql restart`).
55
-
56
-
4. Initialize the database with `make db_init`
57
-
5. Run `make` to start the server and install additional dependencies, and navigate to `localhost:5000`.
28
+
1. Install the following dependencies: Supervisor, NGINX, PostgreSQL, Node.JS.
29
+
1. On macOS:
30
+
1. Using [Homebrew](http://brew.sh/): `brew install supervisor nginx postgresql node`
31
+
2. Start the postgresql server:
32
+
- to start automatically at login: `brew services start postgresql`
33
+
- to start manually: `pg_ctl -D /usr/local/var/postgres start`
2. It may be necessary to configure your database permissions: at the end of your `pg_hba.conf` (typically in `/etc/postgresql/9.5/main`), add the following lines:
37
+
38
+
```
39
+
local all postgres peer
40
+
local cesium cesium trust
41
+
local cesium_test cesium trust
42
+
```
43
+
and restart `postgresl` (`sudo service postgresql restart`).
44
+
45
+
2. Install Python and JavaScript dependencies with `make_dependencies`
46
+
3. Initialize the database with `make db_init`
47
+
4. Run `make` to start the server and navigate to `localhost:5000`
58
48
59
49
## Dev Tips
60
50
To execute the test suite:
@@ -72,6 +62,8 @@ Debugging:
72
62
- Run `make debug` to start webserver in debug mode
73
63
- Run `make attach` to attach to output of webserver, e.g. for use with `pdb.set_trace()`
74
64
65
+
NOTE: Requires Python 3.5 or later.
66
+
75
67
## Standards
76
68
To ensure that JavaScript & JSX code conforms with industry style
77
69
recommendations, after adding or modifying any .js or .jsx files, run ESLint with
0 commit comments