forked from CampFireManager/cfm2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
49 lines (38 loc) · 1.75 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
This is the code I'm developing for the new version of CampFireManager.
It is being developed on GitHub, as I would like to make it easy for people
to contribute to the project. Please feel free to have a dig about in here
and ask me any questions.
mailto:jon@sprig.gs?subject=CFM2
= INSTALLATION GUIDE =
======================
== REQUIREMENTS ==
==================
Install:
Apache (recommended - other HTTPd's not tested)
PHP >= 5.3
PHP5-gmp (Required for OpenID Logins)
PHP5-mysql or PHP5-sqlite (either will work, mysql is faster)
MySQL-Server (if you're using the MySQL plugin)
git
== ACTIONS ==
=============
* Clone the git repository into a known directory (e.g. /var/www/)
* From the root of your git clone, do this command:
git submodule update --recursive
* Get the latest stable version of smarty from here: http://www.smarty.net/download
* Unpack that to /path/to/cfm2/ExternalLibraries/Smarty/Smarty-v.e.r/
* note; v.e.r should be the version number you've downloaded, and should be
a minimum of the version number listed in
/path/to/cfm2/ExternalLibraries/libraries.json. It will have the directories
libs and demo in that path.
* If you're using MySQL, create the database, user and password.
* Copy /path/to/cfm2/config/local.dist.php to /path/to/cfm2/config/local.php and
amend this file. Key lines to set are $RW_TYPE, $RW_BASE. If you're using MySQL
then you should also set $RW_USER and $RW_PASS.
* Copy or symlink /path/to/cfm2/_htaccess to /path/to/cfm2/.htaccess
* Now run
php /path/to/cfm2/initialize.php
OR if you need demo data (for example you plan on running the unit tests or just
want some sample data to work with), you should run instead
php /path/to/cfm2/initialize_with_demo_data.php
You should be good to go now!