greenlight/scripts
Jesus Federico be84e7e4ed
Updated Gemfile and scripts for supporting Heroku (#542)
* Include sqlite only for test and development

* Updated db config

* added assed precompile as a fallback for production

* restored some code from Gemfile

* Restored db settings

* Restored db settings

* Include sqlite for production in the docker image build

* Updated script for building image

* Updated script for building image

* Updated script for building image
2019-05-22 12:03:06 -04:00
..
README.md Helper scripts (#298) 2018-10-16 14:28:21 -04:00
deploy.sh Helper scripts (#298) 2018-10-16 14:28:21 -04:00
greenlight-auto-deployer.service Helper scripts (#298) 2018-10-16 14:28:21 -04:00
greenlight-auto-deployer.timer Helper scripts (#298) 2018-10-16 14:28:21 -04:00
image_build.sh Updated Gemfile and scripts for supporting Heroku (#542) 2019-05-22 12:03:06 -04:00
image_deploy.sh GRN2-112: Default language fallback fails with a 500 error (#469) 2019-04-17 15:33:38 -04:00

README.md

Helpers

Running automatic updates

sudo ln -s /root/greenlight/scripts/deploy.sh /usr/local/bin/greenlight-deploy
sudo cp /root/greenlight/scripts/greenlight-auto-deployer.service /etc/systemd/system/greenlight-auto-deployer.service
sudo cp /root/greenlight/scripts/greenlight-auto-deployer.timer /etc/systemd/system/greenlight-auto-deployer.timer
sudo systemctl daemon-reload
sudo systemctl enable greenlight-auto-deployer.service
sudo systemctl enable greenlight-auto-deployer.timer
sudo systemctl start greenlight-auto-deployer.timer