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