- Fork this repository to get a local copy of this repo in your repo
- Clone your local copy
- Set up the upstream push and pull link
- Start working on a feature
- Push your feature addition
- After cloning this project, get the project's main link (not your local copy) which is implicitly: https://github.com/kali-physi-hacker/church-management.git
- open your terminal and navigate to the projects root
- Type and enter:
git remote add upstream https://github.com/kali-physi-hacker/church-management.git
After performing the steps above, you now have the project's main link that you can push and pull from
You can verify that by executing git remote -v
- Check Asana, our project management platform
- pick an available task and assign it to yourself
- next thing to do is to create a new branch from the master branch
- the name of this new branch should be descriptive to the title of the task.
- For instance if the task is implementing authentication, then the branch name
is going to be
desmond-implementing-authentication
, where desmond is the name of the person implementing the feature
After you're done working on your feature and you want to push the changes
follow the instructions
NOTE
Make sure you're in the backend
folder of the church_management
project
- Run black to format the code.
black --line-length=117 .
- Run:
python manage.py test --settings=church_management.settings_dev
and make sure all tests are passing - Push your code:
git push -u origin [the name of your branch]
. For instance your branch name is:desmond-implementing-authentication
, the command is going to begit push -u origin desmond-implementing-authentication
- Go and make a PR (Pull Request) from within your local repo copy
- Clone a project -->
git clone [the-project-link]
- Create a branch -->
git checkout -b [branch-name]
- Pulling master branch changes -->
git pull upstream master
- Entry of church member details (ADD)
- Update of church member details (UPDATE)
- View Church Members
- View Single Church Member Details
- Delete a church member
- Add member ministries
python3 -m virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
npm install
note: From the project root
cd backend
python manage.py runserver --settings=church_management.settings_dev
note: From the project root
cd frontend
npm run dev