An app that helps developers grow and track their progress.
You need to install:
(Note: if you're using OS X and install Docker Toolbox with Docker Machine webpack's livereload won't probably work - please install Docker For Mac to fully utilize webpack's livereloading)
In order to install node dependencies run the command (it might take a while but it's one-time only):
docker-compose run web yarn
Create a config.local.js
in the root directory of the project and override or set any value provided by config.js
. The minimal contents for the config.local.js
file should be:
module.exports = {
}
Steps to get a Firebase Key for local development:
- Create a Firebase project in the Firebase console.
- Click Add Firebase to your web app.
- Note the initialization code snippet, which you will use in a minute.
- In the Firebase console, open the Auth section.
- On the Sign in method tab, enable the Google sign-in method and click Save.
- Update your
config.js
with your Firebase key.
In the Docker Quickstart Terminal go to the application folder and type:
docker-compose up
Wait for Docker to run the application.
Once the application is running you can access it at localhost.
Optionally you can also run the application as a daemon. Just type:
docker-compose up -d
If you'd like to see if it's running properly just type:
docker-compose logs -ft
If you want to get into the container with running application just type:
docker-compose run web bash
In order to run tests please type:
docker-compose run web yarn test
In order to run lint please type:
docker-compose run web yarn test:lint