Django project for Recipe-Community-Backend website
- Fork this repo
- Clone your forked repo
git clone
- Add the main repo as upstream
git remote add upstream {url}
- Make your changes and push to your(forked) repo.
- Create a pull request from github to main repo.
To get some changes from main repo git pull upstream
NOBODY SHOULD DIRECTLY PUSH TO THE MAIN REPO.
There will be 2 branches
- main
- dev
Apart from the 2 branches above you can create as many branches as you want.
NOBOBY SHOULD MAKE PULL REQUEST TO MAIN BRANCH. All changes should be made to dev.
|- .env.example (contains the sample format for the .env file)
|- <django_project_name>
|- <django_app_1>
|- <django_app_2>
OR
<django_project_name>
|- .env.example (contains the sample format for the .env file)
|- <django_project_name>
|- <django_app_1>
|- <django_app_2>
Apart from this you can create any folders if you want.
- Commits and pull requests should be made with proper descriptive messages.
- Do NOT commit or push any sensitive info such as passwords or emails in the code. Such data should go in the .env file, and a sample empty entry for the same should be added for the same in .env.example