From 782edb0a9d8f401a4ed16e6f6b8569d59821e372 Mon Sep 17 00:00:00 2001 From: Emilie Date: Fri, 25 Nov 2016 19:30:23 +0100 Subject: [PATCH] Readme: add environments --- README.rst | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index e31a37af..531767a1 100644 --- a/README.rst +++ b/README.rst @@ -8,7 +8,9 @@ Overview This application is a CMS dedicated to organizations which is based on Mezzanine and Django. Usecases +======== +[à compléter] Architecture ============ @@ -40,15 +42,15 @@ Paths - `lib` : custom libraries added as git submodules - `scripts` : maintenance scripts - `bower.json` : javascript dependencies (cf `Front`_ section) -- `debian-requirements.txt` : used by docker to install debian packages (cf `in case of broken app`_ section) -- `docker-compose.yml` : description of all docker containers. This file is used by command "docker-compose" (cf `in case of broken app`_ section) -- `Dockerfile` : instructions to build app image (cf `Docker`_ section) +- `debian-requirements.txt` : used by docker to install debian packages (cf `In case of broken app`_ section) +- `docker-compose.yml` : description of all docker containers. This file is used by command "docker-compose" (cf `In case of broken app`_ section) +- `Dockerfile` : instructions to build app image (cf `In case of broken app`_ section) - `Gemfile` : gem dependecies for ruby. For our case, it will install _Sass and _Compass. (cf `Front`_ section) - `gulpfile.js` : script to compile all css, js files (cf `Front`_ section) - `install.py` : cf section 'Install as a daemon' (cf `Install as a daemon`_ section) - `package.json` : gulp dependencies when running "gulp install" (cf `Front`_ section) -- `requirements-dev.txt` : application package in dev version (cf `in case of broken app`_ section) -- `requirements.txt` : application package (cf `in case of broken app`_ section) +- `requirements-dev.txt` : application package in dev version (cf `In case of broken app`_ section) +- `requirements.txt` : application package (cf `In case of broken app`_ section) @@ -159,6 +161,30 @@ This will install a init script in /etc/init.d. For example, if your app directo sudo /etc/init.d/mezzanine-organization start +Environment +============ + + +Local ++++++++++++++++++ +- front : localhost:9020 +- admin: localhost:9020/admin + + +Dev ++++++++++++++++++ +- front : http://ouaibe.ircam.fr/ +- admin : http://ouaibe.ircam.fr/admin +- ssh : ssh cri@web5.ircam.fr + - cd /srv/ircam-www + + +Prod ++++++++++++++++++ +- front : http://www.ircam.fr +- admin : http://www.ircam.fr/admin +- ssh : ssh cri@web5.ircam.fr + - cd /home/cri/dev/ircam-www-dev Development ============ @@ -242,7 +268,7 @@ To restore the backuped database, in another terminal (or a Docker Quickstart Te scripts/pull.sh -in case of broken app +In case of broken app +++++++++++++++++++++ For all commands run un this section, you need to be in the app directory:: -- 2.39.5