Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.53 KB

ENVIRONMENT.md

File metadata and controls

55 lines (33 loc) · 1.53 KB

Contents

Preparing the Environment on Your Machine

Install nodeenv ("Node Env")

Install nodeenv globally. For instructions installing it locally, see: https://github.com/ekalinin/nodeenv

$ cd ~
$ sudo pip install nodeenv

Create a place for your WebApp virtual environment to live on your hard drive. We recommend installing it away from the WebApp source code:

$ mkdir /Users/<YOUR NAME HERE>/NodeEnvironments/
$ cd /Users/<YOUR NAME HERE>/NodeEnvironments/

Now create a new virtual environment in that 'NodeEnvironments' folder. This can take many minutes.

$ nodeenv WebAppEnv

Now activate this new virtual environment:

$ cd /Users/<YOUR NAME HERE>/NodeEnvironments/WebAppEnv/
$ . bin/activate

Confirm the versions of your main packages are >= to these versions:

(WebAppEnv) $ node -v
v5.3.0

(WebAppEnv) $ npm -v
3.3.12

Set up your environment

Create a place to put all of the code from Github:

$ mkdir /Users/<YOUR NAME HERE>/MyProjects/

Next: Bringing Code to Your Machine

Go back to Readme Home