Changes

Jump to: navigation, search

Webmaker/Code

1,676 bytes added, 16:19, 5 December 2013
Update installation instructions
Complete instructions are available in the [https://github.com/mozilla/webmaker-suite#webmaker-suite-bootstrapinstallation-script README for Webmaker Suite] on github.
===Setup Option 2a2: (Mac OS X) Local Native Installation===
Each server that makes up a part of the Webmaker.org ecosystem is configured with <code>.env</code> or ''environment'' files. The servers come with a sample version of this file that is fully functional, assuming that the sample files are used for all the servers in the local installation. Instructions on configuring these manually can be found in the Github repository of each server.
==== Installing Dependancies Setting up your dev environment in Mac OS X ==== This is the easiest method of setting up a Webmaker dev environment in Mac OS X, but requires the use of the [http://brew.sh/ Homebrew] package manager.
# Install [https://developer.apple.com/xcode/ Xcode] command line tools by running <code>xcode-select --install</code> from the terminal
# Install elasticsearch with <code>brew install elasticsearch</code>
# Install mongodb with <code>brew install mongodb</code>
 ==== Setting up your dev environment in Ubuntu Linux ====This is the easiest way to setup a Webmaker dev environment on Ubuntu Linux, but requires that NodeJS be compiled from source. # Install git and a C/C++ toolchain with <code>sudo apt-get -y -q install git g++</code># Install the Java Development Kit with <code>sudo apt-get -y -q install openjdk-7-jre-headless</code># Install the MongoDB server## Install the package with <code>sudo apt-get -y -q install mongodb-server</code>## Ensure MongoDB is running with <code>service mongodb status</code>## Otherwise, start MongoDB with <code>sudo service mongodb start</code> # Install Elasticsearch ## Download [http://www.elasticsearch.org/download/ Elasticsearch] as a <code>.deb</code> file and install from the software centre## Ensure Elasticsearch has started with <code>service elasticsearch status</code>## Otherwise, start Elasticsearch with <code>sudo service elasticsearch start</code># Install Nodejs from source## Clone Node using <code>git clone git://github.com/ry/node.git`</code>## Navigate to the new directory with <code>cd node</code>## Checkout the latest stable version of Nodejs (currently v0.10.22) with <code>git checkout v0.10.22</code>## Run <code>./configure</code>## Run <code>make > output.txt</code>## Run <code>sudo make install > output.txt</code> ==== Set up NodeJS dependancies ====Once your Development environment is set up, you must install some global NPM packages. # Install [http://bower.io/ bower globally ] with <code>sudo npm install -g bower</code># Install [http://gruntjs.com/ grunt globally ] with <code>sudo npm install -g grunt</code>
==== Installing Webmaker Core ====
20
edits

Navigation menu