Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1.)  Unzip SHRIMP wherever you want the app to live
2.)  Create a database.yml file at $SHRIMP_HOME/config/database.yml    yml

3.)  rake db:create
4.)  rake db:migrate
5.)  rake db:fixtures:load

Code Block

INSERT INTO shrimp_usernames (user_id, username) VALUES ($USER_ID, "shrimpadmin");
INSERT INTO shrimp_authorizations VALUES (user_id, role) VALUES ($USER_ID, "test"); 


3.)  rake db:create
4.)  rake db:migrate
5.)  rake db:fixtures:load
6.)  start your rails server (if running installed mongrel: ruby script/server)
7.)  Open your web browser and see if it's running (if running locally: http://localhost:3000)
8.)  Add a default admin user to the database:

Code Block

INSERT INTO shrimp_users (fname, lname) VALUES ("test", "test"); 

...