forked from gabrys/wikidot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
57 lines (34 loc) · 1.3 KB
/
INSTALL
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
This file may be outdated.
The up-to-date installation guide is at the following address:
http://www.wikidot.org/installation-guide
This file will be synchronized when we make a release of Wikidot.
To install Wikidot Open Source follow the points:
1. Install PostgreSQL 8.3, PHP 5.2, Lighttpd, ImageMagick and Git.
2. Get Wikidot.
$ git clone git://github.com/gabrys/wikidot.git wikidot
$ cd wikidot
$ git submodule init
$ git submodule update
3. Prepare PostgreSQL database.
NOTE FOR UBUNTU USERS: you need to set user setting in
wikidot/conf/wikidot.ini to your __current__ user, since
Ubuntu enables authorizing local users with PAM by default.
Don't forget to start PostgreSQL:
$ sudo /etc/init.d/postgresql start
or
$ sudo /etc/init.d/postgresql-8.3 start
Now you basically need to run make prepare_db as user postgres.
I usually use the following command:
$ sudo sudo -u postgres make prepare_db
This should ask you for your password. If you don't use sudo just
$ su postgres
Password: (enter postgres password)
$ make prepare_db
$ exit
4. Install Wikidot database and generate configuration files.
$ make
5. Run Wikidot.
$ ./wikidotctl start
To stop use ./wikidotctl stop
6. Go to the URL make prints at the end to configure your wiki superuser password.
> http://127.0.0.1:8080/admin:superadmin/key/...