diff --git a/README.md b/README.md index 5763c4b..8546911 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,9 @@ > > cp config/database_example.yml config/database.yml > > cp config/secrets_example.yml config/secrets.yml -* Create an environment variable for your instance's secret (as defined in config/secrets.yml) +* Create an environment variable for your instance's secret (as defined in config/secrets.yml). You should use the following command to generate secrets for each of your environments, storing the production one in the environment variable: + +> > rake secret * Run bundler and perform the DB migrations @@ -57,6 +59,15 @@ > > rake db:migrate +> > rake db:seed + +* Start the application + +> > rails server + +* Verify that the site is running properly by going to http://localhost:3000 +* Login as the default administrator: 'super_admin@example.com' - 'password1' + #### Troubleshooting ##### Installation - OSX: diff --git a/app/assets/javascripts/projects.js b/app/assets/javascripts/projects.js index 4b5d905..38866f9 100644 --- a/app/assets/javascripts/projects.js +++ b/app/assets/javascripts/projects.js @@ -144,8 +144,8 @@ options_container = options_container.find(".choices-group"); options_container.empty(); var count = 0; - for (var id in options) { - options_container.append("
  • "); + for (var id in options_container) { + options_container.append("
  • "); count++; } if (count > 0) {