Code Monkey home page Code Monkey logo

geoq-chef-repo's Introduction

Overview

This is a set of Chef recipes (think of them as macros to automatically build a running Virtual Machine) that will work to set the geoq app up on either a local Virtualbox VM or onto an Amazon Web Service VM.

Configuration

  1. Download VirtualBox and install it (free at https://www.virtualbox.org/)
  2. Download Vagrant and install it (free at http://www.vagrantup.com/downloads)
  3. Download Git and install it (free at http://git-scm.com/downloads or it might be preinstalled if on a mac)
  4. Download Berkshelf and install it (works best through a gem install:
  5. If you want to deploy to Amazon or some other provider, create a file named 'vagrant_dev_settings.yml' in the code directory (i.e. ~/Sites) and add in provider deployment details.
  6. After everything is installed, you can type 'vagrant provision' to have it update code from github and install new libraries, or 'vagrant halt' to stop the VM.

Installation Steps

sudo gem install berkshelf
sudo vagrant plugin install vagrant-berkshelf
cd ~/Sites (or wherever you keep your code)
git clone https://github.com/jaycrossler/geoq-chef-repo.git
cd geoq-chef-repo

vagrant up (to deploy to a local virtualbox vm)

(Or, if deploying to amazon)
vagrant plugin install vagrant-aws
vagrant plugin install unf
vagrant up --provider=aws (if using AWS, and the vagrant_dev_settings.yml were created)

geoq-chef-repo's People

Contributors

jaycrossler avatar

Watchers

 avatar Jackie Kazil avatar James Cloos avatar Tyler Garner avatar  avatar

geoq-chef-repo's Issues

vagrant up error: non-zero exit status

Running vagrant up locally, I got the following error. Suggestions?

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chmod +x /tmp/vagrant-shell && /tmp/vagrant-shell

Stdout from the command:

Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  ca-certificates-java default-jre-headless icedtea-6-jre-cacao
  icedtea-6-jre-jamvm java-common java-wrappers libavahi-client3
  libavahi-common-data libavahi-common3 libc-ares2 libcups2 libev4 libicu48
  libjargs-java libjpeg-turbo8 libjpeg8 liblcms2-2 libnspr4 libnss3 libnss3-1d
  libpcsclite1 libv8-3.7.12.22 nodejs openjdk-6-jre-headless openjdk-6-jre-lib
  tzdata tzdata-java unzip
Suggested packages:
  default-jre equivs cups-common libjargs-java-doc liblcms2-utils pcscd
  libnss-mdns sun-java6-fonts ttf-dejavu-extra fonts-ipafont-gothic
  fonts-ipafont-mincho ttf-wqy-microhei ttf-wqy-zenhei ttf-indic-fonts-core
  ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts zip
The following NEW packages will be installed:
  ca-certificates-java default-jre-headless icedtea-6-jre-cacao
  icedtea-6-jre-jamvm java-common java-wrappers libavahi-client3
  libavahi-common-data libavahi-common3 libc-ares2 libcups2 libev4 libicu48
  libjargs-java libjpeg-turbo8 libjpeg8 liblcms2-2 libnspr4 libnss3 libnss3-1d
  libpcsclite1 libv8-3.7.12.22 node-less nodejs openjdk-6-jre-headless
  openjdk-6-jre-lib tzdata-java unzip yui-compressor
The following packages will be upgraded:
  tzdata
1 upgraded, 29 newly installed, 0 to remove and 159 not upgraded.
Need to get 53.9 MB of archives.
After this operation, 93.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? Abort.


Stderr from the command:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.