Tech Puzzles for Problem Solvers - Free Web-App to inspire a new generation of problem solvers to learn to code
npm start
will launch webpack dev server hosting a local app at localhost:8080
. Hot reloading is enabled for js & css files.
npm run lint:js
will display linting errors for js files
npm run lint:css
will display linting errors for css files
Please note: all commands are expected to be run from the root directory (where package.json
lives)
Initially the stack will need to be created. This command should only be to create or update the necessary AWS resources:
./devops/scripts/createStack.sh dev
Deployment steps:
npm run build:dev
to build development bundle with source maps./devops/scripts/deploy.sh dev
Initially the stack will need to be created. This command should only be to create or update the necessary AWS resources:
./devops/scripts/createStack.sh prod
Deployment steps:
npm run build:prod
to build production bundle./devops/scripts/deploy.sh prod