Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Sending Announcements

Philip Vieira edited this page Jun 13, 2013 · 3 revisions

You are able to notify all online clients with a message combined with a link. This is useful when helping our sponsors or by notifying people online about events happening right on Cloudsdale.

First SSH to the server and enter the web app directory most likely /opt/app/cloudsdale-web/current

Example command:

RAILS_ENV=production SHARED_PATH=/opt/app/cloudsdale-web/shared bundle exec rake updater:announcement -- --message='Announcement Body' --title='Announcement Title!' --url='http://www.cloudsdale.org/'

You can also use this to get some pointers of how to use the command:

bundle exec rake updater:announcement -h

Twitter Announcement

RAILS_ENV=production SHARED_PATH=/opt/app/cloudsdale-web/shared bundle exec rake updater:announcement -- --message='Want to know what is going on with Cloudsdale development or service status? Follow us on Twitter!' --title='Cloudsdale Status Updates' --url='https://twitter.com/intent/user?screen_name=cloudsdaleapp'

By: Zeeraw

Clone this wiki locally