8000 GitHub - ouhouhsami/choisi_durable
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ouhouhsami/choisi_durable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

choisi_durable

Install

On linux, run the following command

git clone https://github.com/<username|organisation_name>/choisi_durable
cd choisi_durable
docker-compose up

Due to sync issues between containers, you may also need to migrate and create a superuser. See src/scripts/start_web.sh for more information.

If you want to recover data, fill the db with the appropriate dump

eval "$(docker-machine env choisi-durable)"  # not for Linux
docker-compose run db /srv/data/backup/restore_db.sh

Help on docker on OSX

Create a docker machine

docker-machine create --driver virtualbox --virtualbox-memory 8096 choisi-durable

List all docker machines

docker-machine ls

Stop a docker machine

docker-machine stop choisi-durable

Start a docker machine

docker-machine start choisi-durable

Set env variable the right way

eval "$(docker-machine env choisi-durable)"

To get the VM IP address

docker-machine ip choisi-durable

docker-compose

docker-compose build choisi-durable
docker-compose build --no-cache choisi-durable
docker-compose run choisi-durable command
docker-compose up choisi-durable
docker-compose stop

Install docker-compose

sudo -i
mkdir -p /opt/bin
curl -L https://github.com/docker/compose/releases/download/1.8.1/docker-compose-`uname -s`-`uname -m` > /opt/bin/docker-compose
chmod +x /opt/bin/docker-compose
exit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0