https://github.com/imio/buildout.library
https://github.com/imio/buildout.library
iasmartweb
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/imio/buildout.library
- Owner: IMIO
- Created: 2018-06-05T09:15:14.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2025-02-04T12:13:15.000Z (5 months ago)
- Last Synced: 2025-02-16T23:48:19.833Z (5 months ago)
- Topics: iasmartweb
- Language: Python
- Homepage:
- Size: 144 KB
- Stars: 0
- Watchers: 14
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
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 fgprod
----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-composeFirst
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/filestorageSecond get eggs to build quickly and build image::
make eggs
docker-compose buildFinally start docker-compose::
docker-compose up
and you can go to http://portal.localhost now