Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

SHRIMP was developed on Ruby 1.8.6 7 and Rails 2.2.2.  Other versions may work but I have not tested them.  Mysql is required along with mysql gem.  (again, other db's MIGHT work, but there is a fair amount of custom sql in the source that may be MySQL specific) Installation could be streamlined, but I wanted to get it delivered today.

...

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"); 

...


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"); 

...