Installation

GenIE-Sys can be installed in a few different methods as below.

Docker is a software that provides the ability to package and run an application in an isolated environment called a container. Install the Docker and run it before start the following steps. Open the terminal and use following commands.

Docker installation can be tested or run in several ways.

1.) Run using Play with Docker The quickest way to test the GenIE-Sys, it takes only a few minutes

2.) Run with already built in Docker image The fastest way to run the GenIE-Sys locally or your own server

docker run --rm -i -t -p "80:80" -p "3308:3306" -v ${PWD}/genie:/app -v ${PWD}/mysql:/var/lib/mysql -e MYSQL_ADMIN_PASS="mypass" --name geniesys irusri/docker4geniesys

3.) Build image locally using Dockerfile and run This is quite slow since you have to build the image locally

git clone https://github.com/irusri/docker4geniesys.git  
cd docker4geniesys  
docker-compose up

You can access MySQL database using mysql -u admin -pmypass -h localhost -P 3308 or using phpMyAdmin. As you may noticed here admin is the default MySQL username and mypass is the default password. You can change that in docker-compose.yml file.

If you are running on a production environment, we recommend changing the password for MySQL user.

All good, next we need to customise our new website and load our genome into the database.

Last updated