Add cmd to add dirs

This commit is contained in:
Ari Timonen 2020-05-03 13:25:14 +03:00
parent 132cd59011
commit 506caad06a
3 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# Development
Install instructions in INSTALL.md. Read this whole documentation before posting.
Install instructions in INSTALL.md. Read this whole documentation before proceeding.
## Basic commands for development

View file

@ -65,7 +65,6 @@ ADD --chown=web . /var/www
# Assets are only compiled for production+
RUN bundle exec rake assets:precompile && \
mkdir -p tmp/sockets tmp/pids log && \
# FIXME: Temporary fix for assets
# Move assets to a temp dir here and move them back in entry script
cp -r /var/www/public/assets /home/web/assets

View file

@ -4,6 +4,9 @@ cd $APP_PATH
source script/env.sh .env .env.$RAILS_ENV .env.$RAILS_ENV.local .env.local
# Create dirs
mkdir -p tmp/pids tmp/sockets tmp/sessions tmp/cache log
# Make sure we have all gems, this fixed some startup issues.
bundle config github.https true
bundle config set path '/var/bundle'