Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 809 Bytes

File metadata and controls

30 lines (17 loc) · 809 Bytes

Steps to get your project started:

  • 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