Skip to content
Snippets Groups Projects
Commit c04f36ec authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

fixes to Canvas script

parent 4386a8eb
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,8 @@
# This script has been tested on Trisquel 9
# References https://github.com/instructure/canvas-lms/wiki/Production-Start
HOSTNAME=canvas.foo.bar
# Install basic packages for this script
......@@ -71,6 +73,7 @@ for config in amazon_s3 dynamic_settings database \
su canvas -c "sed 's/your_password/$DBPASS/' -i /srv/canvas/config/database.yml"
su canvas -c "sed 's/12345/$(pwgen 50 -n1)/' -i /srv/canvas/config/security.yml"
su canvas -c "sed 's/canvas.example.com/$HOSTNAME/' -i /srv/canvas/config/domain.yml"
gem install bundler -v 1.13.6
npm install -g coffee-script@1.6.2
......@@ -152,3 +155,9 @@ EOF
# Configure your email output by editing /srv/canvas/config/outgoing_mail.yml
service apache2 restart
# Enable background job processing
ln -s /srv/canvas/script/canvas_init /etc/init.d/canvas_init
update-rc.d canvas_init defaults
/etc/init.d/canvas_init start
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment