mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 21:10:54 +00:00
8 lines
254 B
Bash
Executable file
8 lines
254 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 && bundle exec puma -C config/puma.rb" -s /bin/bash -l web
|
|
bash
|