[go: up one dir, main page]

Menu

[0376ad]: / INSTALL  Maximize  Restore  History

Download this file

30 lines (21 with data), 1.4 kB

GContact2 dependencies :
- couchdb
- php5 (with php5-curl)

On a debian based system, type: sudo apt-get install couchdb apache2 php5 php5-curl

================
= INSTALLATION =
================

1/ Set absolute URL
Change absolute URL inside opensearch.xml.

2/ Check permissions
Read private/README file to check permissions on private/users.json file.

3/ Users creation
If private/users.json file is not empty, clean it. It should only contain theses 2 curly braces : "{}".

Before creating users, I encourage you strongly to change FIXED_SALT value inside web/php-common/users.inc.php.
That will avoid attack against standard rainbow table (http://en.wikipedia.org/wiki/Rainbow_table).
You may use any random string but I suggest you Steve Gibson's perfect password generator : https://www.grc.com/passwords.htm

Beware, changing that value after have created users will break actual users login process. 
You have to change that value *before* creating users.

You will then have to create users one by one by calling "administration/addUser.php add username password" script.
You may then consider importing data from GContact by calling "administration/importFromGcontact.php email-from-gcontact username-in-GContact2".
GContact's MySQL database should be on same server (if not, you will have to edit the file and change connection information).