mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-12 21:00:58 +00:00
Create necessary dirs
This commit is contained in:
parent
66f012f3ec
commit
4bb15ffd56
2 changed files with 4 additions and 2 deletions
|
@ -40,13 +40,14 @@ Run some tests:
|
|||
|
||||
There are some unresolved issues to setup dev env.
|
||||
|
||||
1. Make sure tmp, tmp/sockets, tmp/pids and log exist.
|
||||
1. Make sure docker has access to its dirs. You might have to chown if you have permission issues with docker.
|
||||
|
||||
sudo chown -R 1000:1000 .
|
||||
sudo chown -R 999:999 db/data
|
||||
|
||||
1. You might have to run migrations manually. `bundle exec rake db:migrate`
|
||||
1. You might have to run migrations manually.
|
||||
|
||||
bundle exec rake db:migrate`
|
||||
|
||||
## Tips
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@ 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
|
||||
|
|
Loading…
Reference in a new issue