ensl.org/script/entry.sh
Ari Timonen 11fcea3259 Add docker dev version
Add env and docker files for development

Fix some random things related to rails upgrade
2019-09-24 22:55:34 +03:00

8 lines
273 B
Bash
Executable file

#!/bin/bash
cd /var/www
chown -R web:web /var/www
su -c "bundle config github.https true; cd /var/www && bundle install --path /var/bundle --jobs 4" -s /bin/bash -l web
su -c "cd /var/www && source .env.dev && bundle exec puma -C config/puma.rb" -s /bin/bash -l web
bash