root / snf-astakos-app / astakos / test / README @ 2f0cd9e1
History | View | Annotate | Download (432 Bytes)
1 |
Create the database: |
---|---|
2 |
CREATE DATABASE astakos_test WITH ENCODING 'UTF8' LC_COLLATE='C' LC_CTYPE='C' TEMPLATE=template0; |
3 |
CREATE USER tester WITH PASSWORD 'test'; |
4 |
GRANT ALL PRIVILEGES ON DATABASE astakos_test TO tester; |
5 |
|
6 |
Setup the database: |
7 |
./setup.sh |
8 |
|
9 |
Launch server: |
10 |
./launch.sh |
11 |
|
12 |
Initialize (the first time you set up the database): |
13 |
./init.sh |
14 |
|
15 |
In terminal 1: ./submit-and-approve.py 1 dummy |
16 |
In terminal 2: ./join-and-leave.py 1 dummy |