reddit/switcharoo-vagrant

Name: switcharoo-vagrant

Owner: Reddit

Description: null

Created: 2015-02-17 19:17:26.0

Updated: 2015-02-26 18:11:28.0

Pushed: 2015-02-26 18:11:31.0

Homepage: null

Size: 184

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Quick Setup for Switcharoo

Eventually this will be generalized for any switcharoo environment so you can quickly spin up a new Vagrant enviornment for it. As of now, it is specific to the reddit implementation of it.

Requirements
What's in the Vagrant Box
Get me up and running
  1. Clone this repo.
  2. Copy vagrant_config.example.yml to vagrant_config.yml. Modify the settings to suit your needs. If you want just all defaults, it should be good to go as is. This will clone all the necessary repos and npm link them together. If have all the repos already, modify the synced folders and local plugins configs to point at the correct ones.
  3. Run vagrant up from the root of the repo in your host system.
  4. After it finishes, run vagrant ssh from the host environment to enter the guest system and run reddit from the guest system. This will start the server on port 4444 which is shared to your host system.
  5. Open a browser and go to localhost:4444. Enjoy.
What is where

If you run the default config, all your code with be in the src/ directory in this project. This will make all your code live in /vagrant/src/ on your guest machine.

If you have synced folders from your vagrant_config.yml, those will go to /host-raw/src/` directory.

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.