mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
11fcea3259
Add env and docker files for development Fix some random things related to rails upgrade
8 lines
273 B
Bash
Executable file
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
|