This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 88
Home
zsiec edited this page Mar 10, 2012
·
13 revisions
Welcome to the code-for-america wiki!
In addition to the typical push to heroku and db setup. The following must be done:
- Run the rake task,
cache_civic_commons_application_data
. This task retrieves application data from civic commons. - Create an admin user via the sign up page. Then toggle that user's admin flag manually via the heroku console.
- Setup the heroku add-on Heroku Scheduler: For running the rake task,
cache_civic_commons_application_data
. The frequency of running it is based on how often you may think data on civic commons is updated. - Setup the heroku add-on Sendgrid: For allowing the system to send out emails
- Setup the heroku add-on Websolr: For enabling full text search on a variety of forms.
- Edit the
facebook_app_id
inconfig/social_networks.yml
under production with your facebook application id. - You can change the twitter account that is mentioned by default by going to
app/views/deployed_applications/_social_network_modal.html.erb
and editing thedata-via
attribute of the twitter link.
You must also be sure that the S3_SECRET environment variable is set as well.
You cannot add a deployed application in the admin panel. The 'Add New' button is on the deployed application but it will not work because a deployed application needs to have the context of what application its deploying.