Pencil-For-Schools / pencil-tech-admin

3 stars 0 forks source link

Tct deployment #53

Closed TrinityChristiana closed 2 months ago

TrinityChristiana commented 2 months ago

These will have breaking changes, so do the following:

  1. Change to the dev branch

    git checkout development
  2. Pull down the changes
    git pull origin development
  3. Delete your db.sqlite3 file
    rm db.sqlite3
  4. Install new packages
    pipenv install
  5. Re run your migrations
    python manage.py migrate
  6. Create an admin user
    python manage.py createsuperuser --email admin@example.com --username admin
  7. Update your tables with our new fixtures
    python manage.py loaddata counties intake_types inventory_items orders pencil_box_location_inventory_item_order pencil_box_location_inventory_item pencil_box_location schedule_item schools service_years teacher_schedule_item teachers
  8. Now your DB should be up to date now!