Last active
August 26, 2015 19:13
-
-
Save jywarren/29ea4f680a02c867161d to your computer and use it in GitHub Desktop.
c9.io setup scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Warning: The contents of the database defined as "test" will be erased and | |
# re-generated from your development database when you run "rake". | |
# Do not set this db to the same as development or production. | |
test: | |
adapter: mysql2 | |
username: <username> | |
password: | |
database: publiclab_test | |
encoding: utf8 | |
pool: 5 | |
timeout: 5000 | |
# is this comment a random misplaced note?? -btbonval | |
# no, it's a reminder to how to get a schema.rb out of a pre-existing db. it's how we got the Drupal schema.rb out of a Drupal database without reconstructing it manually. -jywarren | |
# rake db:schema:dump | |
# This database will be used by default when running `passenger start` | |
development: | |
adapter: mysql2 | |
username: <username> | |
password: | |
encoding: utf8 | |
database: publiclab | |
production: | |
adapter: mysql2 | |
username: <username> | |
password: | |
encoding: utf8 | |
database: publiclab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install imagemagick ruby-rmagick | |
rvm install ruby-2.1.2 | |
bower install | |
bundle install | |
rake db:setup | |
rake db:migrate | |
rake db:seed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment