Making with Code

Act III: Coding the App #

You finally get your hands on some code! During Act III you and your partner will delve into the code and see your app start to come to life.

[0] Starter Code #

๐ŸŒ Github Repo: github.com/Making-with-Code/project_web_apps

๐Ÿ’ป Enter the poetry shell.
poetry shell
๐Ÿ’ป Install requirements
poetry install

[1] Assessment #

โœ… This project will be assessed based on the following success claims:

  • Iterative Development

    • I can consistently push my work to Github with descriptive commit messages
    • I can consistently update my README.md file with works cited
  • Coding Implementation

    • I can stay focused and productive during work sessions
    • I can make a meaningful update to the code in my group’s repository each class
  • Problem Solving and Collaboration

    • I can collaborate well with my partner
    • I can participate in problem solving in an effective manner
    • I can keep the Miro board updated with changes we make to our design

For each work day from now until E-assessments begin, you will be assessed on a score from 0-3. You will receive an individual score, independent from your partner. With 4 assessed work days, there are a total of 12 potential points.

  • 0 - no evidence of the success claims
  • 1 - limited evidence of the success claims
  • 2 - adequate evidence of the success claims
  • 3 - substantial evidence of the success claims

[2] Deliverables #

โšกโœจ At the end of each day, all of the following should be up to date.

  • Your Github repository with the most recent app code
  • Your README.md with your works cited
  • Your Miro board should be up to date with your design

[3] Backing up your database #

In order to back up your database and push it to github, follow these steps:

๐ŸŒ Github Repo: github.com/Making-with-Code/project_web_apps

๐Ÿ’ป Enter the poetry shell:
poetry shell
๐Ÿ’ป Back up your app's database.
python manage.py dumpdata > backup.json
๐Ÿ’ป Push it to Github
git add backup.json
git status
git commit -m "backing up database"
git push
โšกโœจ You can stop here! Let your teacher know that your code is live, so that she can load the data on your live sit.

๐Ÿ’ป If you ever want to restore your data from a backup, you can run the following command:
python3 manage.py loaddata backup.json