branch | Coveralls | Sonarcloud | Travis |
---|---|---|---|
master | |||
dev |
If you are a developer of this project, please complete the following 4 settings. Especially, settings for docker is compulsory, so that we can have unified enviroment for development.
(1) setting commit message template.
git config commit.template ./.gitmessage.txt
(2) setting pre-commit / pre-push hooks.
./etc/githook-scripts/init-hook.sh
(3) install docker, docker-compose, docker-machine, virtualbox.
install docker according to your environment
install docker-compose according to your environment
install docker-machine according to your environment
install virtualbox according to your environment
(4) create default docker-machine in your terminal.
docker-machine create default
You need to install docker, docker-compose, docker-machine, virtualbox as explained above. This project's backend is based on docker, so please remind that it will not run unless you install all required docker services.
move to coding-mbti/backend,
then run the next command.
./local-docker/local-docker-starter-back/init.sh
move to coding-mbti/backend,
then run the next command to test.
./local-docker/local-docker-tester-back/init-test.sh
run the next command to check pylint
./local-docker/local-docker-tester-back/init-pylint.sh
move to coding-mbti/
run the next command
yarn start
move to coding-mbti/
run the next command to test
yarn test
run the next command to check eslint
./node_modules/.bin/eslint src/