-
Create a new repo in your chohort's github org:
bangazon_workforce_mgt_<your-team-name>
-
Clone this repo and cd into it
-
Change your local repo's remote repo:
git remote remove origin
git remote add origin <url of your team's repo>
-
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 0
nss-day-cohort-33/bangazon-workforce-management-wintercrystal-domain
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
bangazon-workforce-management-wintercrystal-domain created by GitHub Classroom
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published