-
Clone down your team's repo and cd into it
-
Create your virtual environment:
python -m venv workforceenv
source ./workforceenv/bin/activate
-
Install the app's dependencies:
pip install -r requirements.txt
-
Build your database from the existing models:
python manage.py makemigrations hrapp
python manage.py migrate
-
create a superuser for your local version of the app:
- pyman createsuperuser <your_username>
-
Populate your database with initial data from fixtures files: (NOTE: every time you run this it will remove exisiting data and repopulate the tables)
python manage.py loaddata computers
python manage.py loaddata users
-
Fire up your dev server and get to work!
python manage.py runserver
-
Notifications
You must be signed in to change notification settings - Fork 1
nss-day-cohort-33/bangazon-workforce-management-galydia-empire
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
bangazon-workforce-management-galydia-empire created by GitHub Classroom
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published