To start this project just start the docker container
And open http://localhost:3000 to view it in the browser.
Terminal whil stay looking for modifications in the code to run the tests.
Building the project to production on port 3001, served with nginx.
To configure gcloud cli
To make the deploy on the configured project
You can build the dev image whith
$ docker build -t flux-app:dev .
Spin up the container
$ docker run -it --rm -v ${PWD}:/app -v /app/node_modules -p 3001:3000 -e CHOKIDAR_USEPOLLING=true flux-app:dev
Build with docker-compose
$ docker-compose up -d --build
Runing with compose
$ docker-compose up
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.