diff --git a/Procfile b/Procfile new file mode 100644 index 000000000..097fc0825 --- /dev/null +++ b/Procfile @@ -0,0 +1,3 @@ +app: gunicorn -c conf/gunicorn_local.py application:application +webpack: npm run watch + diff --git a/README.md b/README.md index 9813f2b15..fd78efa2f 100644 --- a/README.md +++ b/README.md @@ -120,9 +120,14 @@ The username and password of the admin test account is `devtable` and `password` ### Local Scripts +Running the web server locally requires [goreman](https://github.com/mattn/goreman): +``` +go get github.com/mattn/goreman +``` + * `local-run` runs the web server for testing * `local-test` runs the unit test suite -* `npm run build` builds front end dependencies (webpack, typescript, react) +* `npm run build` builds front end dependencies * `npm run watch` a watcher for webpack ### Development inside Docker diff --git a/local-run.sh b/local-run.sh index 543305903..84679d83d 100755 --- a/local-run.sh +++ b/local-run.sh @@ -1 +1 @@ -gunicorn -c conf/gunicorn_local.py application:application +goreman start