The following quick start guide creates a development database (using sqlite3). The assumption is that you are trying out the database, and so don't need to get fancy at this stage. The first step is to set up rails on you computer or server (if you haven't already). A rails installation guide can be found here: http://installrails.com
The below quick start guide was last updated for ruby-2.2.3.
-
Clone the github repository
git clone https://github.com/jmadin/traits2.git -
Move into the traits directory
cd traits2 -
Make sqlite3 database configuration file and local environment file
cd config cp database.yml.sqlite database.yml cp local_env.yml.example local_env.yml -
Return to base directory and install gems
cd .. bundle install -
Migrate database structure to sqlite3 development database and seed with example data
rake db:migrate rake db:seed -
Start solr search
rake sunspot:solr:start rake sunspot:solr:reindex -
Start rails server
rails s -
Log-in at (http://localhost:3000/signin)
[email protected] foobar -
Change password at (http://localhost:3000/users/1/edit)