mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 04:21:36 +00:00
22fc8cb50b
- Use assets workaround to work around the volume issue with docker - Add assets to gitignore - Fix dalli hostname - Update docker-compose to new paths for volumes - Fix MariaDB issue with optimization opts
11 lines
265 B
Bash
Executable file
11 lines
265 B
Bash
Executable file
#!/bin/bash
|
|
|
|
env
|
|
cd /var/www
|
|
source /var/www/.env
|
|
rm -rf /var/www/public/assets
|
|
mv /home/web/assets /var/www/public/
|
|
chown -R web:web /var/www/public
|
|
|
|
#bundle exec rake assets:precompile
|
|
su -c "cd /var/www && bundle exec puma -C config/puma.rb" -s /bin/bash -l web
|