Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

n7consulting/jeyser-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jeyser CRM - Docker

This repository contains the Docker development environment used to make Jeyser CRM work.

Docker is a tool which allows us to virtualize our environment, producing containers with stack elements inside.

To learn more, go to the Docker website.

Requirements

Install

First, clone the project :

git clone https://github.com/n7consulting/jeyser-docker.git
cd jeyser-docker

Usage

To make the containers run, you can use the following commands :

docker-compose build
docker-compose up -d

The shortcut command for this is :

make install

To stop the containers, use docker-compose stop or make stop.

To remove the containers (you would need to do it in case of strange problems or build new versions), use docker-compose rm or make rm.

To see the containers status, use docker-compose ps or make status shortcut command.

PhpMyAdmin

To access PhpMyAdmin, run your containers and then access to 127.0.0.1:8080 in your browser.

The root credentials are root:password ("password" is the password).

The other available user is incipio:password.

You can access the database by getting its IP adress in PhpMyAdmin or through the docker virtual host mysql

Applications

To install the project, run the following procedure :

cd volumes/apps
git clone https://@github.com/n7consulting/Incipio.git
composer install
#make directories writable
sudo chgrp -R www-data ./app ./var
sudo chmod -R g+w ./app ./var

You can access Jeyser with 127.0.0.1 in your browser.

To access a CLI as root user : make root_cli.

To access a CLI as www-data user : make www-data_cli.

Tests

You can test your project with Behat. To do so, just type make test

You can also use, according to the browser you want to test with

    docker-compose run behat --profile=<browser>
    docker-compose run behat --profile=firefox
    docker-compose run behat --profile=chrome
    docker-compose run behat --profile=phantomjs

Releases

No releases published

Packages

No packages published