root/AuthKit/trunk/examples/user/database-model/README.txt
| Revision 152 (checked in by thejimmyg, 8 months ago) |
|---|
| Line | |
|---|---|
| 1 | To use this example do the following: |
| 2 | |
| 3 | 1. Edit ``model.py`` to choose the database you wish to use. |
| 4 | The default should be fine but you will need ``pysqlite`` installed. |
| 5 | |
| 6 | 2. Run the ``create.py`` file to create the necessary database tables:: |
| 7 | |
| 8 | python create.py |
| 9 | |
| 10 | 3. Start the example server:: |
| 11 | |
| 12 | python app.py |
| 13 | |
| 14 | 4. Visit the server at http://localhost:8080/private |
Note: See TracBrowser for help on using the browser.
