-
Notifications
You must be signed in to change notification settings - Fork 88
Home
Welcome to the code-for-america wiki!
The biggest issue Ubuntu users face is building the capybara-webkit gem. This continues to be discussed as issue 513 at the capybara-webkit page here. A common solution is to compile the QT libraries from source. Please note that the following process can take 3 - 4 hours.
Download Qt libraries 4.8.5 for Linux/X11 here.
Follow instructions here and complete steps 1 - 3.
For step 4, before the following lines are added to ~/.profile
PATH=/usr/local/Trolltech/Qt-4.8.5/bin:$PATH
export PATH
verify if ~/.bash_profile or ~/.bash_login exist. If they do, then the lines belong there since the system is not reading ~/.profile
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 a remote heroku instance,
heroku create
. Then deploy to the heroku instance,git push heroku master
. - 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.