-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
45 lines (28 loc) · 1.08 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
learning_journal README
==================
This is a starting point for Session 7. It picks up where we left off at the end of session 6
but with the following changes:
- added User class to mymodel.py
- added some database imports to scripts/initializedb.py
- added an EntryEditForm class to forms.py
- added home and edit buttons in templates/detail.jinja2
- fleshed out the update view in views/default.py
- added some images and fun css files
Getting Started
---------------
- with your virtual environment active:
Get into the right directory
- cd <directory containing development.ini>
Install all the setup files
- run: python setup.py develop
Create the database
- run: setup_db development.ini
Start the server
- run: pserve development.ini
It will be running on localhost:6543
- included are the basic static/styles.css that we started with plus
-styles_hiking.css
-styles_spooky.css
To switch which file the app is using, change the name of styles.css to
something else, and rename the one you want to use to styles.css.
Restart your server and clear your cache to see the change.