Skip to content

Install Gentle2 on EC2

magnusmanske edited this page Apr 17, 2012 · 2 revisions

Right now the ec2 is OpenSUSE and fairly minimalist, most tools don't even exist here.

Step one would be to install GIT:

yast2 -i git

Once git's been installed we need to install someone's key for Synbiota, and pull the repo.

CD into the web root, which on this ec2 instance is /srv/www/htdocs

The first time we run, we clone the repo

git clone git@github.com:Synbiota/GENtle2.git

Each time we want to update, we only need to CD into the root and run

git pull

Should we start creating branches and other things, the instructions here may become more complicated.

**todo: ** We need a dummy account as the private organization expects a privatekey, and my account is tied to... my account, which has other stuff in it. So, dummy count needs to get created (Connor should likely maintain this) with a key that gets installed. Since we can't do it that way, here's the other, messy way:

Alternative messy method:

  1. Download zip https://github.com/Synbiota/GENtle2/zipball/master
  2. Extract to local folder
  3. Use an SCP program to copy/replace files on web root.

GENtle2 config

GENtle2 needs the PHP CuRL and SSL packages. To install:

  1. zypper in php5-curl
  2. zypper in php5-openssl
  3. edit /etc/php5/apache2/php.ini and uncomment line ";extension=php_openssl.dll"
  4. apache2ctl -k restart

Each GENtle2 instance needs to have config.js.template copied to config.js, and edited to fit the installation (basically, Synbiota API URL). config.js will never be checked into git.

Clone this wiki locally