diff --git a/README.md b/README.md index ff8993fc1f2818256a4a52cab163df83c2e19e5b..2a724220dbb536609605f4b2774f02e4c854d478 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,13 @@ Set up the database: rails r db/scripts/create_tags_path_view.rb rails db:migrate - + You'll need to create a Community record and purge the Rails cache before you can seed the database. In a Rails console (`rails c`), run: + +```ruby +Community.create(name: 'Dev Community', host: 'localhost:3000') +Rails.cache.clear +``` +Then seed the database: $ rails db:seed Category: Created 2, skipped 0 @@ -85,15 +91,6 @@ Run the server! rails s -You'll need to create a Community record before the server will display any -content. In a Rails console (`rails c`), run: - -```ruby -Community.create(name: 'Dev Community', host: 'localhost:3000') -``` - -If it keeps not showing content, `Rails.cache.clear` from your Rails console as -necessary. You can create the first user account in the application, which should be running at http://localhost:3000/. To upgrade the user account to an admin account, run `rails c` for a console, followed by: