updates readme

Robert Whitney 12 ans auparavant
Parent
Commettre
297f6763a2
1 fichiers modifiés avec 5 ajouts et 2 suppressions
  1. 5 2
      README.md

+ 5 - 2
README.md

@@ -39,8 +39,11 @@ And now, some example screenshots.  Below them are instructions to get you start
39 39
 
40 40
 If you just want to play around, you can simply clone this repository, then perform the following steps:
41 41
 
42
-* Edit `config/initializers/secret_token.rb` and replace `REPLACE_ME_NOW!` with the output of `rake secret`.
43
-* Run `rake db:create`, `rake db:migrate`, and then `rake db:seed` to create a development MySQL database with some example seed data.  Run `rails s`, visit `http://localhost:3000`, and login with the username of `admin` and the password of `password`.
42
+* Copy .env.example to .env `cp .env.example .env`
43
+* Edit the configuration options in .env
44
+* Edit the APP_SECRET_TOKEN environment variable and replace `REPLACE_ME_NOW!` with the output of `rake secret`.
45
+* Run `rake db:create`, `rake db:migrate`, and then `rake db:seed` to create a development MySQL database with some example seed data.
46
+* Run `foreman start`, visit `http://localhost:5000`, and login with the username of `admin` and the password of `password`.
44 47
 * Make some extra Terminal windows and run `bundle exec rails runner bin/schedule.rb`, `bundle exec rails runner bin/twitter_stream.rb`, and `script/delayed_job run` in separate windows.
45 48
 * Setup some Agents!
46 49