Skip to content

Commit

Permalink
[issue #97] Added directory creation commands for filebrowser base di…
Browse files Browse the repository at this point in the history
…rectory to entrypoint.sh.
  • Loading branch information
Hacont committed Feb 9, 2018
1 parent aaaf53e commit 4c29169
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions entrypoint.sh
Expand Up @@ -13,6 +13,10 @@ wget --no-check-certificate -c --header "Cookie: oraclelicense=accept-secureback
tar -xzf jdk-8u162-linux-x64.tar.gz -C ../usr/bin
rm -rf jdk-8u162-linux-x64.tar.gz

# Create /media/uploads/ directory which is required by django filebrowser
mkdir -p projectsettings/media/uploads
chmod -R 755 projectsettings/media

# Execute startup scripts
python manage.py collectstatic --noinput
python manage.py makemigrations
Expand Down

0 comments on commit 4c29169

Please sign in to comment.