A Grok demo application for editing data retrieved from IMDb.
Project description
This is a nifty little demo application for Grok.
It provides a userinterface to fetch and edit data retrieved from the Internet Movie Database (IMDb).
Prerequisites
You need
Python 2.4 and
setuptools
to run this application. Rumors are, that also Python 2.5 will work.
Installation
To install this package, run:
$ python2.4 bootstrap/bootstrap.py
which should create a bin/ directory containing a buildout script.
Next, run:
$ bin/buildout
which should setup everything, fetch needed packages from the net etc.
Run the Application
This can be done in three steps.
1) Start the Zope-Server
To start the application in the background, run:
$ bin/zopectl start
and stop it with:
$ bin/zopectl stop
Tests are run doing:
$ bin/test
If you want to run the application in foreground, you can do:
$ bin/zopectl fg
The server can then be stopped hitting CTRL-D.
2) Log into the admin interface
One server can serve several instances of GrokIMDB. Therefore we firstly have to create an instance of it. To do this, we use the Grok admin interface, which can be reached via:
http://localhost:8080/
Open that URL in a browser. You will be asked for a username/password.
Enter:
grok
and:
grok
That should log you in.
3) Create an instance of GrokIMDB
Now enter a name for your new GrokIMDB instance and click ‘Add’. This should create a new instance of GrokIMDB, that will be displayed.
To go to your new GrokIMDB, just click on the freshly created link.
Development
GrokIMDB can give you only a rough sketch of all possibilities of Grok. You can develop the application further by modifying the sources in the src/ directory. Note, that you have to restart the server, when classes or similar things were changed.
Further Grok Resources
There is an excellent tutorial on the Grok homepage:
Happy Grokking!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file GrokIMDB-0.1.zip
.
File metadata
- Download URL: GrokIMDB-0.1.zip
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3db4f0bd839355e5ec9a4295e6bebe791530abfe79727a9a6aed349bd0e68bee |
|
MD5 | 6075163dfe6f4c8d303068db1c5402fc |
|
BLAKE2b-256 | 7c8f54441717e5ecaf03f1be8fff4d7d13b19faa0a45c0ebb9474c6f1cb8c965 |
File details
Details for the file GrokIMDB-0.1.tar.gz
.
File metadata
- Download URL: GrokIMDB-0.1.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc5db6a74dd2c517abe3feb58d01e7770575ee082c948dfd8c8d14555450111 |
|
MD5 | 0e0cf69380a59f6fbe5b61fd0b9f1b0d |
|
BLAKE2b-256 | e4a37dc575b3e8144e2bff8c14189cc4d5a849754287a567c941b334542d85fd |
File details
Details for the file GrokIMDB-0.1-py2.5.egg
.
File metadata
- Download URL: GrokIMDB-0.1-py2.5.egg
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 631336c50ba925e17b7c5fe4c41f77e734ee49edccd83d254c0084c45d3cad9c |
|
MD5 | 742ff9a42b5a10fb5f1661ccf547f2c5 |
|
BLAKE2b-256 | e18c191728563770b624e4efa8aa59d0c919263f4cef9eab3a2f0a79051aaa73 |
File details
Details for the file GrokIMDB-0.1-py2.4.egg
.
File metadata
- Download URL: GrokIMDB-0.1-py2.4.egg
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3830408c57c05d1ae7f76bbb1f9ea053e08a451a4dd7adad354b4afd70aa2204 |
|
MD5 | 3e87c3ca91fa53d115b8945c31512517 |
|
BLAKE2b-256 | 351a6f4a9d759f964aef7fe6f818750ead20f2170615acaaa4c625104c3b8054 |