mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-12 21:00:58 +00:00
Add cmd to add dirs
This commit is contained in:
parent
132cd59011
commit
506caad06a
3 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue