LEDBetter Lights Web App
See here for project information.
Running with Docker Compose
Have Docker and Docker Compose installed.
In the base directory run
$ docker-compose build
$ docker-compose up
$ docker-compose exec npm run migrate
Visit the running application at localhost:8000.
Development
Have NodeJS installed.
In one terminal window, run
$ cd web
$ npm install
$ npm run dev
This will live-update the web frontend anytime the frontend code in web/
changes.
Next, change to the web server directory.
$ cd server
Install all dependencies.
$ npm install
Run tests.
$ npm run check
$ npm test
Run migrations on the development database.
$ npm run migrate
Finally, run the web server
$ npm start
Visit the running application at localhost:3000.