-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
64 lines (40 loc) · 1.33 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
playzorky
Play zork or another interactive fiction game in a wave.
zorky started in Willisson Christmas Hackathon 2009
SERVER INSTALL
On willisson.org, clone the git resporitory, then:
cd frotz-2.43
make dumb
cd server
sudo ./install-production
Test at http://zorky.willisson.org
================================================================
Here are some hints for setting up a development server:
Install these packages:
apache2 postgresql libpq-dev php5 php-db php5-pgsql php5-xdebug php-mode
setup postgres:
$ sudo -s
# su postgres
$ createuser YOUR_NAME_HERE
answer Y to database superuser question
$ createuser root
answer Y to database superuser question
$ createuser apache
answer Y to database superuser question
in /etc/postgresql/8.4/main/pg_hba.conf add
local all apache ident map=web
(if you're using 8.3, the line use instead: "local all apache ident web")
just before the line that says "local all all ident"
in /etc/postgresl/8.4/main/pg_ident.conf append:
web www-data apache
web root apache
web YOUR_NAME_HERE apache
in zorky/server, run
$ createdb zorky-YOURNAME-dev
$ psql -f schema zorky-YOURNAME-dev
copy zorky-rhino-pace-dev.conf to zorky-YOUR_HOSTNAME-YOUR_NAME-dev.conf
edit in obvious substitutions
run install-dev
alex notes:
$ mkdir -p /var/zorky-YOURNAMEHERE-dev/bin
# apt-get install libcap2-bin