Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Installation

gregdingle edited this page Sep 13, 2010 · 9 revisions

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.

CREATE DATABASE genetify;
USE genetify;
SOURCE schema.sql;

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

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:

http://yourserver.com/path-to-genetify/recorder.php?test=true

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:

http://yourserver.com/path-to-genetify/demo/test.php

Clone this wiki locally