Skip to content

thaisratis/RNAmining

Repository files navigation

RNAmining

https://gitlab.com/integrativebioinformatics/RNAmining

Containers

  • Webserver - Nginx;
  • Backend PHP - PHP-fpm;

2 Containers.

Requisites

Installation

Clone the repository recursively with:

user@host:~# git clone https://gitlab.com/integrativebioinformatics/RNAmining.git

This mode the repositorys the frontend and backend are cloned.

Pre-execution

Create file .env in root directory on repository informing enviremont variables, example content:

user@host:~/RNAmining# vim .env
DOCUMENT_ROOT=/var/www/html

Define permissions for user www-data in directory back/front which will be mounted as volume in container. Because the user may not exist on the host host, we use the gid that is standard on any system. Execute:

user@host:~/RNAmining# chown 33:33 -R volumes/rnamining-front

Execution

In the root repository, execute the next command:

user@host:~/RNAmining# docker-compose -f docker-compose2.yml up --build -d

The option -d execute containers in background.

Cite the code: DOI

Enjoy!