#Install
run cp .env.example .env
run yarn start
yarn start
- start dev server onlocalhost:3000
yarn test
- start testingyarn build
- build sources into/build
folderyarn lint
- make eslint check of the project files
- Run
docker-compose up -d
from the root of directory. - Visit http://localhost/log_in when
done
would be displayed.
(Troubleshoot:
docker rm --force calc-ui-container
anddocker image rm calc-app_calc-ui -f
sudo lsof -i tcp:80
thenkill -9 <PID>
docker-compose up -d --build --force-recreate
)
To be able to test connections/services integration you need to make this app accessible from outer internet
- Run
ngrok http -host-header="localhost:3000" 3000
orngrok http -host-header="localhost:80" 80
. - Fill .env file with url from terminal.
- Run
yarn start
ordocker-compose up -d
.