University Central Library Backend
Use the package manager pip to install dependencies.
pip install -r requirements.txt
Create an empty database and set its configuration params in library/settings.py (default is sqlite):
# Database
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': '?',
'NAME': '?',
'USER': '?',
'PASSWORD': '?',
...
}
}
Then run the following command to let django create tables for you:
python manage.py migrate
You can add sample data provided in fixtures folder of each app via:
python manage.py loaddata <filename>
python manage.py runserver
For each issue, fork master into a new branch and push codes there. When ready, submit a merge request for review. For major changes, please open an issue first to discuss what you would like to change.
Copyright © 2020 Zeynab Amini