Created
September 25, 2011 00:38
-
-
Save robbl/1240053 to your computer and use it in GitHub Desktop.
apileipzig setup in vagrant base virtualbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --- localhost --- | |
# install rvm & ruby 1.8.7 | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
rvm install 1.8.7 | |
rvm use 1.8.7 | |
# install vagrant & base virtualbox | |
gem install vagrant | |
vagrant box add base http://files.vagrantup.com/lucid32.box | |
vagrant init | |
vagrant up | |
# --- vagrant virtualbox --- | |
# connect to vagrant virtualbox | |
vagrant ssh | |
# install git > http://help.github.com/linux-set-up-git/ | |
# install rvm & ruby 1.8.7 + bundler | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
rvm install 1.8.7 | |
rvm use 1.8.7 | |
gem install bundler | |
# install sqlite3 | |
sudo apt-get install sqlite3 | |
sudo apt-get install libsqlite3-dev | |
# install apileipzig | |
bash < <(curl -s https://raw.github.com/apileipzig/dev/master/setup_dev_env.sh) | |
# start apileipzig api | |
cd api/api/ && rackup | |
# status quo | |
# curl -X GET 33.33.33.10:9292/district/districts | |
# > {"error":"No permission(s) to do this."} | |
# next steps? | |
# - start wiki... | |
# - start panel... | |
# - generate apikey... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment