Name: vagrant-stacks
Owner: Smithsonian Institution
Description: Vagrant launcher for STACKS
Created: 2013-09-30 16:54:41.0
Updated: 2015-02-27 14:38:10.0
Pushed: 2015-08-06 17:12:12.0
Homepage: null
Size: 124
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Vagrant launcher for STACKS 1.34 (http://creskolab.uoregon.edu/stacks)
This creates a VM on your computer running STACKS that can be used to run the command line tools and web interface of STACKS.
clone https://github.com/Smithsonian/vagrant-stacks.git
vagrant-stacks
rant up
To access the stacks web interface Point your browser at http://localhost:8082/stacks. You should see the Stacks webpage
To use the stacks command line tools
Login to the VM command line vagrant ssh
To setup a database use:
l -u dbuser -pdbpass -e "CREATE DATABASE redseaexp_radtags"
l -u dbuser -pdbpass redseaexp_radtags < /usr/share/stacks/sql/stacks.sql
#config.vm.synced_folder "/Users/", "/hostfiles"
The example will take the folder /Users on the host computer and make it available as /hostfiles on the VMvagrant reload
to use the new settingsvagrant reload
to use the new settingsTo access the command line of the vagrant VM type: vagrant ssh
To suspend the VM (save the current state) use: vagrant suspend
To reboot the VM with new configuration from the file Vagrantfile (e.g. RAM, CPUs) : vagrant reload
To destroy the VM (lose all data not stored in /vagrant or /hostfiles if you configured that) use: vagrant destroy