From 78ce5ad94c52615a2eb3939cd8b5067db00dddf0 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 4 Feb 2016 16:22:42 +0100 Subject: [PATCH] fix make_dirs and doc --- .gitignore | 4 +++- Dockerfile | 4 ++-- README.rst | 18 ++++++++++++++++-- app/deploy/start_app.sh | 7 +++++-- 4 files changed, 26 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index ce93772b..78da6b0f 100644 --- a/.gitignore +++ b/.gitignore @@ -10,7 +10,9 @@ eggs parts bin var -data +data/media +data/var +data/static sdist develop-eggs .installed.cfg diff --git a/Dockerfile b/Dockerfile index 202ed878..799afa0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ FROM parisson/timeside:latest MAINTAINER Guillaume Pellerin , Thomas fillon -RUN mkdir /srv/src/ +RUN if [ ! -d /srv/src/ ]; then mkdir /srv/src/; fi RUN mkdir /srv/src/telemeta COPY . /srv/src/telemeta WORKDIR /srv/src/telemeta @@ -26,7 +26,7 @@ RUN pip install -r requirements.txt RUN pip install -r requirements-dev.txt --src /srv/src ENV PYTHON_EGG_CACHE=/srv/.python-eggs -RUN mkdir $PYTHON_EGG_CACHE +RUN if [ ! -d $PYTHON_EGG_CACHE ]; then mkdir $PYTHON_EGG_CACHE; fi RUN chown www-data:www-data $PYTHON_EGG_CACHE WORKDIR /srv/app diff --git a/README.rst b/README.rst index df0ec0c9..c5231c94 100644 --- a/README.rst +++ b/README.rst @@ -112,7 +112,7 @@ password: demo Install ======= -Thanks to Docker, Telemeta is now fully available as a docker image ready to work. The docker based composition bundles some powerfull applications and modern frameworks out-of-the-box like: Python, Numpy, Gstreamer, Django, Celery, MySQL, RabbitMQ, uWSGI, Nginx and many more.. The image includes all the necessary applications, modules and volumes to start your project in a few steps. +Thanks to Docker, Telemeta is now fully available as a docker image ready to work. The docker based composition bundles some powerfull applications and modern frameworks out-of-the-box like: Python, Numpy, Gstreamer, Django, Celery, Haystack, ElasticSearch, MySQL, RabbitMQ, uWSGI, Nginx and many more... First install `Git `_, `Docker `_ and `docker-compose `_, then run these commands in a terminal:: @@ -120,7 +120,21 @@ First install `Git `_, `Docker