CS411 Databases project - Recipe website
/justinthyme - Contains django settings and urls files.
/recipe_app - Contains models and views for front end web app.
/sql - Contains raw sqlite3 file.
- Open up this page. (Man you're good at this!)
- Open a git shell and change to top /justinthyme
- run
git pull
to get any new changes. - Do some work. Do a lot actually.
- It's been a while since step 4, run
git status
and look at all the stuff you've changed! - Make sure all of the file you have changed are under Changes to be commited. For any files under untracked or not staged for commit, run
git add filename
to add those new files. - Now you're ready to commit. Run
git commit -m "talk about what changes you did here"
- Last but not least, run
git push
to push your changes to the remote repository.
IMPORTANT: Don't forget to push your work after you're done or else you will have to do merges (ewww).
- To run the shell: run
/path/to/python manage.py shell
- To start the webapp: run
/path/to/python manage.py runserver
. You can view it at 127.0.0.1:8000/admin - To view sql schema: run
/path/to/python manage.py sql recipe_app
- Django raw SQL : https://docs.djangoproject.com/en/dev/topics/db/sql/
- Django html templates : https://docs.djangoproject.com/en/dev/ref/templates/api/