-
Notifications
You must be signed in to change notification settings - Fork 9
December, 2013 Meeting Notes
These are rough notes that will be used to write more formal wiki entries in the future. They very much reflect the raw and visceral nature of our small but vibrant python community.
Stacks is an application that will serve as a digital library for both physical and electronic books for the PyMNtos PUG, will serve as a learning tool for PUG members in Minnesota and elsewhere, and will (hopefully) be exemplary of Django best practices.
- Setting up the dev environment
- Setup
mkvirtualenv stacks
workon stacks
pip install django
pip install pip-tools
pip freeze > requirements.txt
django-admin.py startproject stacksAt this point you will have a "stacks" folder with manage.py and another "stacks" folder inside of that.
cd stacks
./manage.py startapp libraryAt this point, edit settings.py in the innermost "stacks" folder. Edit the INSTALLED_APPS string. Add an extra line 'library', that will tell django that you want to use your library app. This is a common gotcha.
./manage.py runserver
Congrats. You made an program. Visit it in your browser! localhost:8000
For the rest of this initial setup, read the Installation Guide.
Basic prototyping does not necessarily reflect the decisions below.
-
Book
-
UUID
-
Title
-
ISBN 10
-
ISBN 13
-
Publish Date
-
Publisher => Publisher
-
Author => Author
-
Image of Cover
-
Description
-
Lender (?) => Lender
-
Lender
-
Author
-
Last Name
-
First Name
-
Publisher
Extraneous Notes / Installations (eventually):
- Django South for database migration will be used (if using a bleeding edge version of Django, this is rolled in and does not need to be installed separately)
- pip-tools
- Django Debug Toolbar