Follow these guidelines if you'd like to contribute to the project!
Read through these guidelines before you get started:
If you have any questions about using or developing for this project, reach out to @{user} or send an email.
Submit an issue or pull request with a fix if you find any bugs in the project. See below for instructions on sending in pull requests, and be sure to reference the code style guide first!
When submitting an issue or pull request, make sure you're as detailed as possible and fill in all answers to questions asked in the templates. For example, an issue that simply states "X/Y/Z isn't working!" will be closed.
Submit an issue to request a new feature. Features fall into one of two categories:
- Major: Major changes should be discussed with me via email. I'm always open to suggestions and will get back to you as soon as I can!
- Minor: A minor feature can simply be added via a pull request.
Before you do anything, make sure you check the current list of pull requests to ensure you aren't duplicating anyone's work. Then, do the following:
- Fork the repository and make your changes in a git branch:
git checkout -b my-branch base-branch - Read and follow the code style guidelines.
- Make sure your feature or fix doesn't break the project! Test thoroughly.
- Commit your changes, and be sure to leave a detailed commit message.
- Push your branch to your forked repo on GitHub:
git push origin my-branch - Submit a pull request and hold tight!
- If any changes are requested by the project maintainers, make them and follow this process again until the changes are merged in.
Please follow the coding style conventions detailed below:
{guidelines}
If you would like to contribute to this project, and you are new to developing open source projects with Django, this article is for you; furthermore, misc related info is posted here.
- Clone the project to your local development folder.
git clone https://github.com/MikaSoftware/django-starterkit.git- Setup our virtual environment
``bash virtualenv -p python3.6 env
3. Activate virtual environment
```bash
source env/bin/activate
- Run the following commands to install dependent libraries.
pip install -r requirements
pip install django- Create our sample
Djangoproject as a harness for our library. Just FYI, do not worry about having a django web-app in this library as we have updated the.gitignoreto not have any of the django stuff except code related to our library. Also note that the period in this command is not a mistake, it will create the project inside this directory. If you would like to learn more, read about the startproject command.
django-admin startproject sample_project .-
Add
starterkitto yourINSTALLED_APPS. -
Finally run the following in your console
python manage.py migrate- You are ready to start programming! Here are some commands to get you started.
python manage.py test
python manage.py runserverX.Y.Z Version
`MAJOR` version -- when you make incompatible API changes,
`MINOR` version -- when you add functionality in a backwards-compatible manner, and
`PATCH` version -- when you make backwards-compatible bug fixes.