]> git.parisson.com Git - mezzo.git/commitdiff
Reorder Dockerfile
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 5 Dec 2016 14:26:04 +0000 (15:26 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 5 Dec 2016 14:26:04 +0000 (15:26 +0100)
Dockerfile
bin/build_doc.sh [new file with mode: 0755]
bin/build_front.sh [new file with mode: 0755]
bin/build_graph.sh [new file with mode: 0755]
bin/front_build.sh [deleted file]
bin/graph_model.sh [deleted file]
doc/build.sh
requirements.txt

index 559e12493c28c215b731884cd9504b6d56d9739c..0c05dca4abf291b4e37434d55713788cf7814b0b 100644 (file)
@@ -20,12 +20,6 @@ ENV LANG fr_FR.UTF-8
 ENV LANGUAGE fr_FR:fr
 ENV LC_ALL fr_FR.UTF-8
 
-COPY requirements.txt /srv
-RUN pip install -r requirements.txt
-
-COPY requirements-dev.txt /srv
-RUN pip install -r requirements-dev.txt --src /srv/lib
-
 COPY package.json /srv
 RUN npm install
 
@@ -41,4 +35,10 @@ COPY gulpfile.js /srv
 RUN npm install -g gulp
 RUN gulp build
 
+COPY requirements.txt /srv
+RUN pip install -r requirements.txt
+
+COPY requirements-dev.txt /srv
+RUN pip install -r requirements-dev.txt --src /srv/lib
+
 WORKDIR /srv/app
diff --git a/bin/build_doc.sh b/bin/build_doc.sh
new file mode 100755 (executable)
index 0000000..abc248d
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+docker-compose run app bash /srv/doc/build.sh
diff --git a/bin/build_front.sh b/bin/build_front.sh
new file mode 100755 (executable)
index 0000000..26da357
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+docker-compose run app bash -c "cd /srv && bower install && gulp build"
diff --git a/bin/build_graph.sh b/bin/build_graph.sh
new file mode 100755 (executable)
index 0000000..b5cda09
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+docker-compose run app python /srv/app/manage.py graph_models organization-core organization-media organization-pages organization.network organization.magazine organization.projects organization.agenda organization.shop organization.job > /srv/doc/graph/mezzanine-organization.dot
diff --git a/bin/front_build.sh b/bin/front_build.sh
deleted file mode 100644 (file)
index 26da357..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-docker-compose run app bash -c "cd /srv && bower install && gulp build"
diff --git a/bin/graph_model.sh b/bin/graph_model.sh
deleted file mode 100755 (executable)
index b5cda09..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-docker-compose run app python /srv/app/manage.py graph_models organization-core organization-media organization-pages organization.network organization.magazine organization.projects organization.agenda organization.shop organization.job > /srv/doc/graph/mezzanine-organization.dot
index 968fc08ab1e78c0b368925170b26859cfa04aa12..6b920542138fc6a1e700ba7201ee57fb21fad808 100755 (executable)
@@ -1,7 +1,5 @@
 #!/bin/sh
 
 cd /srv/doc
-make install_deps
 make html
-make publish
 make readme
index 7da3ebddfed287fa83a316cecbf67be5e0e2130d..9f59f84eb2e725a7f20858146d7d2d2de216607d 100644 (file)
@@ -20,3 +20,4 @@ xlrd==1.0.0
 ipython
 gitpython
 pygraphviz
+sphinx_rtd_theme