Dmitriy Shesterkin 9 years ago
parent f065f416e4
commit b1b0c466a8
  1. 2
      Dockerfile
  2. 8
      conf/docker/entrypoint_stage.sh
  3. 3
      src/dokumentor/static/js/profile/asset.js
  4. 1
      src/dokumentor/templates/customer/profile/edit.html

@ -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 && \

@ -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

@ -0,0 +1,3 @@
/**
* Created by mitri4 on 23.06.17.
*/

@ -562,6 +562,7 @@
</script>
<script src="{% static 'js/profile/search-main-external-api.js' %}"></script>
<script src="{% static 'js/profile/search-bank-external-api.js' %}"></script>
<script src="{% static 'js/profile/asset.js' %}"></script>
{% include 'hbs/bank-tpl.html' %}

Loading…
Cancel
Save