Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.bundle
app
config
db
doc
lib
public
script
spec
vendor
.gitignore
.rvmrc
Capfile
Gemfile
Gemfile.lock
README.rdoc
Rakefile
VERSION
ci

README.rdoc

Lifeviz

July 13 2010

Clean Install w/ dump
  1. clone/update server repository
  2. create new database
  3. import dump (long time... like 30m-1hr) or slim_dump (10 seconds)
     $gunzip -c db/dump.sql.gz | psql lifeviz_development
  4. rake db:migrate (optional: if you want newest changes to the db)
  5. get into psql
     $psql lifeviz_development
  6. run vacuum (5mins)
     #vacuum analyze;
  7. run Species.rebuild_stats (NOT NEEDED FOR SLIM)
  8. run Taxon.rebuild_stats (NOT NEEDED FOR SLIM)
  9. script/server

June 17th 2010

Clean Install from scratch
  1. make sure you have anage.xml, hagrid_ubid.txt, and ubiota_taxonomy.psv in db/data folder
  2. create new database
  3. rake db:schema:load
  4. run db:seed (~4hrs)
      - create_taxonomy
      - create_species_and_data
  5. enter console and Taxon.rebuild! (~4hrs)
  6. get into psql
     $psql lifeviz_development
  7. run vacuum (5mins)
  8. #vacuum analyze;
  9. run Species.rebuild_stats (2.5mins for 4k species)
  10. run Taxon.rebuild_stats
  11. at this point you may want to run Taxon.rebuild_lineages! from console since we performed a vacuum analyze and things are faster
  12. script/server
Something went wrong with that request. Please try again.