yarn
yarn start
Then open http://localhost:8080
. Hot reloading of both react and static files (ejs, sass) files should work. Sometimes gulp forgets to watch new files so you need to rerun yarn start
.
In .env.example
your will find all used env variables. When you do yarn start
this file will be copied as .env
(only if it doesn't exists already). If you want to change something modify .env
file which is gitignored. If you want to add new env variable make sure to add default to .env.example
.
We use this variable to show the FAQ page by assigning 1
or hide it and use comming soon
by assinging 0.
To autofix any errors just do yarn lint:fix
.
When working on diffrent branches and dependancies diverge, during merge/rebase huge yarn.lock conflicts will emerge. It would be unpractical to solve these problems manually. In order to cleanly install new dependancies while keeping old
lockfile configrations just do yarn fixyarn
.
yarn test
yarn test:coverage
yarn build
You will find all files in dist
directory.