From b1b0c466a83e92e788ad08b034aa49af7dc1da35 Mon Sep 17 00:00:00 2001 From: Dmitriy Shesterkin Date: Fri, 23 Jun 2017 23:00:59 +0300 Subject: [PATCH] bower --- Dockerfile | 2 +- conf/docker/entrypoint_stage.sh | 8 ++++---- src/dokumentor/static/js/profile/asset.js | 3 +++ src/dokumentor/templates/customer/profile/edit.html | 1 + 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 src/dokumentor/static/js/profile/asset.js diff --git a/Dockerfile b/Dockerfile index aa900bd..309f6f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,7 @@ RUN apt-get update -y && \ git-core \ make && \ # Install nodejs - curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - && \ + curl -sL https://deb.nodesource.com/setup_0.12 | bash - && \ apt-get install -y nodejs && \ apt-get clean && \ diff --git a/conf/docker/entrypoint_stage.sh b/conf/docker/entrypoint_stage.sh index c09284d..2f6ef43 100755 --- a/conf/docker/entrypoint_stage.sh +++ b/conf/docker/entrypoint_stage.sh @@ -5,6 +5,10 @@ set -u export ENV=stage +cd /opt/app + +bower i + # Collect static files echo "Collect static files" python src/manage.py collectstatic --noinput @@ -18,9 +22,5 @@ echo "Apply database migrations" python src/manage.py migrate myauth --noinput python src/manage.py migrate --noinput -cd /opt/app - -bower i - supervisord -c /opt/app/conf/supervisor.conf diff --git a/src/dokumentor/static/js/profile/asset.js b/src/dokumentor/static/js/profile/asset.js new file mode 100644 index 0000000..730006f --- /dev/null +++ b/src/dokumentor/static/js/profile/asset.js @@ -0,0 +1,3 @@ +/** + * Created by mitri4 on 23.06.17. + */ diff --git a/src/dokumentor/templates/customer/profile/edit.html b/src/dokumentor/templates/customer/profile/edit.html index 0923781..b7c8d83 100644 --- a/src/dokumentor/templates/customer/profile/edit.html +++ b/src/dokumentor/templates/customer/profile/edit.html @@ -562,6 +562,7 @@ + {% include 'hbs/bank-tpl.html' %}