git clone
python -m venv venv
source venv/bin/activate
Create a .env. file inside the backend directory to store environment variables for development, production
mkdir .env.dev
mkdir .env.prod
mkdir .env.prod.db
docker-compose up -d --build
docker-compose exec vietcatholic-backend python manage.py migrate --noinput
docker-compose exec vietcatholic-db psql --username=vietcatochan --dbname=vietcatholicdb
docker-compose down -v
yarn install
yarn add package-name
Run the development server:
yarn dev
Before creating a new branch, pull the changes from upstream. Your master needs to be up to date.
$ git pull
Create the branch on your local machine and switch in this branch :
git checkout -b [name_of_your_new_branch]
Push the branch on github :
git push origin [name_of_your_new_branch]