gregdingle edited this page Sep 12, 2010 · 9 revisions
Clone this wiki locally

You don’t need to install genetify on your own server. You can rely on the default public server and jump straight to usage. But if you want to, here are the instructions.

Installing genetify on your own server

Check out a copy of the code onto your server. Everything you need to run the web app is inside the sub-directory genetify. The rest is supporting files or experimental stuff. Setup follows a typical flow… set up database, webserver, filesystem permissions, base URL.

Server setup

Create a database for genetify.
Execute schema.sql in the new database.
Create a user for genetify that has read and write privileges over the new database.

USE genetify;
SOURCE schema.sql;

CREATE USER genetify_user IDENTIFIED BY 'mypassword';
GRANT ALL ON genetify.* TO 'genetify_user'@'%';

Put database access info into CONFIG.php.

vi genetify/CONFIG.php

Put the genetify sub-directory (or a symlink pointing to it) in a directory served by your webserver. PHP must be installed and enabled.

Set filesystem permissions to read and write in the genetify/cache directory.

chmod 777 genetify/cache

Test the installation from your browser by opening:

Note: you may need to try it twice to pass the test.

Client setup

Install Firebug. Genetify uses Firebug to log messages.

Set the config var REMOTE_BASE_URL in the top of genetify.js to the web root of your installation.

Test the full system by messing around on: