Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/imio/buildout.library


https://github.com/imio/buildout.library

iasmartweb

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        

Buildout Library
================
This buildout is used to build dev and production environment for imio iA.Bibliohteca app.

dev
---
Run these commands::

make buildout
./bin/instance fg

prod
----

Production is build via Jenkins. A docker image is build in each commit and pushed on staging.
To run locally a production service, you can use docker-compose

First

Add imio user to your environment::

sudo addgroup --gid 209 imio
sudo usermod -a -G imio $USERNAME
sudo chmod 664 -R var/filestorage/*
sudo chown $USERNAME:imio -R var/filestorage

Second get eggs to build quickly and build image::

make eggs
docker-compose build

Finally start docker-compose::

docker-compose up

and you can go to http://portal.localhost now