Webmaker/Code/Dev/Environment: Difference between revisions

Remove instructions to install nodejs from source, and replace with Ubuntu PPA
(Remove instructions to install nodejs from source, and replace with Ubuntu PPA)
Line 35: Line 35:


==== Setting up your dev environment  in Ubuntu Linux ====
==== 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.
This is the easiest way to setup a Webmaker dev environment on Ubuntu Linux.


# Install git and a C/C++ toolchain with <code>sudo apt-get -y -q install git g++</code>
# Install git and a C/C++ toolchain with <code>sudo apt-get -y -q install git g++</code>
Line 47: Line 47:
## Ensure Elasticsearch has started with <code>service elasticsearch status</code>
## Ensure Elasticsearch has started with <code>service elasticsearch status</code>
## Otherwise, start Elasticsearch with <code>sudo service elasticsearch start</code>
## Otherwise, start Elasticsearch with <code>sudo service elasticsearch start</code>
# Install Nodejs from source
# Install Nodejs from Ubuntu PPA
## Clone Node using <code>git clone git://github.com/ry/node.git`</code>
## Add the Node.js PPA using <code>sudo add-apt-repository ppa:chris-lea/node.js</code>
## Navigate to the new directory with <code>cd node</code>
## Update your packages using <code>sudo apt-get update</code>
## Checkout the latest stable version of Nodejs (currently v0.10.22) with <code>git checkout v0.10.22</code>
## Install Node.js using <code>sudo apt-get install nodejs</code>
## Run <code>./configure</code>
## Run <code>make > output.txt</code>
## Run <code>sudo make install > output.txt</code>


==== Setting up your dev environment in Fedora Linux ====
==== Setting up your dev environment in Fedora Linux ====
Confirmed users
49

edits