-
Notifications
You must be signed in to change notification settings - Fork 0
A small book library demonstrating the grok web framework. The code is the basis for the accompanying article.
License
prsephton/BookLib
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This project is intended to be really simple. It uses the idea of a
book library to demonstrate some core concepts behind the Grok Python
web framework.
The code for this project accompanies a document called "grok-maintenance.pdf",
which is intended to provide enough information to people who need to
maintain a grok project.
Installation (linux):
Assuming you are in your home directory
sudo pip install grokproject
grokproject mygrok
Then extract this project into mygrok/src/mygrok/
cd mygrok/src/mygrok/
git clone https://github.com/prsephton/BookLib.git
edit mygrok/setup.py and change the entry_points section to contain
'fanstatic.libraries': [
'mygrok = mygrok.resource:library',
'mygrok.booklib = mygrok.booklib.resource:library',
]
cd ~/mygrok
bin/buildout
bin/paster serve --reload parts/etc/deploy.ini # Starts the server
Point your browser at localhost:8080 and log in.
Create an instance of booklib, and click on it's link.
About
A small book library demonstrating the grok web framework. The code is the basis for the accompanying article.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published