Commit 37c5952e authored by Daniel Schreiber's avatar Daniel Schreiber

make usage more comfortable

add ipython
add manage.py to /usr/bin with python path
parent 67f5a2b2
......@@ -5,8 +5,10 @@ COPY install.sh /tmp/install.sh
COPY frms.ini /etc/uwsgi/apps-enabled
COPY startsync.sh /var/www/django/frms/startsync.sh
COPY startuwsgi.sh /var/www/django/frms/startuwsgi.sh
COPY manage.py /usr/bin/manage.py
RUN chmod 755 /var/www/django/frms/startsync.sh
RUN chmod 755 /var/www/django/frms/startuwsgi.sh
RUN chmod 755 /usr/bin/manage.py
RUN bash /tmp/install.sh
EXPOSE 8000
ENV DOCKER=1
......
......@@ -8,6 +8,7 @@ python3 -mvenv $TARGET/env
source $TARGET/env/bin/activate
cd $TARGET/app
pip install -r requirements.txt
pip install ipython
mkdir -p $TARGET/static
chown www-data: $TARGET/static
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment