Skip to content

Commit

Permalink
added db/schema.rb.example and modified gitignore
Browse files Browse the repository at this point in the history
readme update
  • Loading branch information
jywarren committed Mar 23, 2016
1 parent 54866ac commit de41469
Show file tree
Hide file tree
Showing 3 changed files with 365 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
# Ignore bundler config
.bundle

# Ignore the default SQLite database.
db/*.sqlite3

# Ignore all logfiles and tempfiles.
log/*.log
log/*
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,10 @@ Installation steps:
2. Enter the new 'plots2' directory with `cd plots2`.
3. Install gems with `bundle install --without production` from the rails root folder, to install the gems you'll need, excluding those needed only in production. You may need to first run `bundle update` if you have older gems in your environment from previous Rails work.
4. Make a copy of `config/database.yml.sqlite.example` and place it at `config/database.yml` -- for development, we've included a prebuilt sqlite database in the `development.db` file, and this example database config is already set up to connect to it. If you are using another database, you can run `bundle exec rake db:setup` to set it up, and `bundle exec rake db:seed` to populate it with initial dummy data.
5. Install static assets (like external javascript libraries, fonts) with `bower install`
6. Start rails with `passenger start` from the Rails root and open http://localhost:3000 in a web browser.
10. Wheeeee! You're up and running! Log in with test usernames "user", "moderator", or "admin", and password "password".
5. Make a copy of `db/schema.rb.example` and place it at `db/schema.rb`.
6. Install static assets (like external javascript libraries, fonts) with `bower install`
7. Start rails with `passenger start` from the Rails root and open http://localhost:3000 in a web browser.
8. Wheeeee! You're up and running! Log in with test usernames "user", "moderator", or "admin", and password "password".

### Bundle exec

Expand Down
Loading

0 comments on commit de41469

Please sign in to comment.