Skip to main content

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:

http://grok.zope.org/documentation/book/

Happy Grokking!

Release files for GrokIMDB 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for GrokIMDB 0.1
File Size Uploaded
GrokIMDB-0.1.zip 15.9 kB Details
GrokIMDB-0.1.tar.gz 10.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for GrokIMDB 0.1
File Interpreter ABI Platform
GrokIMDB-0.1-py2.5.egg Legacy Egg format - - Details
GrokIMDB-0.1-py2.4.egg Legacy Egg format - - Details

Total release size: 51.6 kB

Release files / GrokIMDB-0.1.zip

Download URL GrokIMDB-0.1.zip
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3db4f0bd839355e5ec9a4295e6bebe791530abfe79727a9a6aed349bd0e68bee
BLAKE2b-256 checksum
How to use checksums
7c8f54441717e5ecaf03f1be8fff4d7d13b19faa0a45c0ebb9474c6f1cb8c965
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / GrokIMDB-0.1.tar.gz

Download URL GrokIMDB-0.1.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5fc5db6a74dd2c517abe3feb58d01e7770575ee082c948dfd8c8d14555450111
BLAKE2b-256 checksum
How to use checksums
e4a37dc575b3e8144e2bff8c14189cc4d5a849754287a567c941b334542d85fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / GrokIMDB-0.1-py2.5.egg

Download URL GrokIMDB-0.1-py2.5.egg
Size 12.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
631336c50ba925e17b7c5fe4c41f77e734ee49edccd83d254c0084c45d3cad9c
BLAKE2b-256 checksum
How to use checksums
e18c191728563770b624e4efa8aa59d0c919263f4cef9eab3a2f0a79051aaa73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / GrokIMDB-0.1-py2.4.egg

Download URL GrokIMDB-0.1-py2.4.egg
Size 12.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
3830408c57c05d1ae7f76bbb1f9ea053e08a451a4dd7adad354b4afd70aa2204
BLAKE2b-256 checksum
How to use checksums
351a6f4a9d759f964aef7fe6f818750ead20f2170615acaaa4c625104c3b8054
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page