-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathINSTALL
24 lines (21 loc) · 918 Bytes
/
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
---- Required Packages (Ubuntu) ----
apt-get install python-cairo python-imaging python-rsvg python-setuptools
apt-get install apache2-mpm-prefork php5-mysql mysql-server php-pear smarty
easy_install ModestMaps
pear install --alldeps Mail Mail_mime HTTP_Request
---- Safety Maps ----
1. Clone the Git repo from http://github.com/doprojects/safetymaps
2. Create database:
% mysql -u root
> CREATE DATABASE safetymaps_example;
> GRANT SELECT, INSERT, UPDATE, DELETE, LOCK TABLES,
CREATE TEMPORARY TABLES ON safetymaps_example.*
TO safetymaps@localhost IDENTIFIED BY 's4f3tym4ps';
> USE safetymaps_example;
> SOURCE doc/create.mysql;
> FLUSH PRIVILEGES;
3. Populate lib/config.php with MySQL & SMTP details
4. Post-installation tasks:
% make
5. Add to crontab something like:
* * * * * cd bin && python http://example.com/path/to/www/compose/job.php