Wapyti User Guide

Introduction

Installation

Linux

Windows

MacOS

Others

Configuration

After getting the svn version, your need to do the following steps (in the wapyti/ directory):

  1. create the database:

$ tg-admin sql create

  1. launch the server:

$ ./start-wapyti.py

  1. populate the test DB. In you web browser, go to:

http://localhost:8080/misc/populateTestDB

You should now point to the first page of the first album. If you want to reset the DB, just remove the devdata.sqlite file, and go back to step 1.

Usage

Wapyti does not yet have a nice interface to use already implemented features. By default, you are in view mode. You can go to prev/next page using pages links. 2 albums are created in the test DB ('album1' et 'album2'); to switch from one to the other, just enter its name in the url:

http://localhost:8080/view?albumName=album2

To go to edit mode:

http://localhost:8080/edit?albumName=album2

You will be prompt to login, as edit mode can only be accessed by admin users. The test DB has such account (admin/admin). In edit mode, you can still browse pages like in view mode, but also change the images. For that, just click on it. A new page will show you all available images; just click on the one you want to use. Note that images are surrounded by a red line if they are already used in teh album, and in green if not.

Last, several help functions are available: