View a Live Demo
·
Report a Bug
·
Request a Feature
Table of Contents
- Backend Framework: Django
- Front-end Framework: Bootstrap
- Database used: Sqlite
-
Fork and Clone
- Fork the Yearbook Repository
- Clone the repo to your local system.
-
Create a Virtual Environment for the Project
In Windows
pip install virtualenv virtualenv venv venv\Scripts\activate
In Ubuntu/MacOS
python -m virtualenv venv source venv/bin/activate
If you are using another name for the virtual environment other than
venv
, then please mention it in.gitignore
. -
Install all the requirements
pip install -r requirements.txt
-
Checkout to a different branch
git status git pull git branch git checkout -b <your-branch-here>
-
Make migrations/ Create db.sqlite3
python manage.py makemigrations python manage.py migrate
-
Create a super user. In Django, if you want to access admin page, you need to create an account with staff status first.
python manage.py createsuperuser
Then select your username and password. You can bypass a common password for development purposes.
-
Run the server on localhost:
python manage.py runserver
-
Make the changes and send a PR, referencing the changes.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change in the project.