Skip to content

sarudanya/traits2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trait database quick-start guide

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.

  1. Clone the github repository

     git clone https://github.com/jmadin/traits2.git
    
  2. Move into the traits directory

     cd traits2
    
  3. 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  
    
  4. Return to base directory and install gems

     cd ..
     bundle install
    
  5. Migrate database structure to sqlite3 development database and seed with example data

     rake db:migrate
     rake db:seed
    
  6. Start solr search

     rake sunspot:solr:start
     rake sunspot:solr:reindex
    
  7. Start rails server

     rails s
    
  8. Log-in at (http://localhost:3000/signin)

  9. Change password at (http://localhost:3000/users/1/edit)

About

A generic trait database for plants and animals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 54.8%
  • Ruby 40.9%
  • JavaScript 1.8%
  • CSS 1.3%
  • CoffeeScript 1.2%