Skip to content

Instantly share code, notes, and snippets.

@haohcraft
Last active November 3, 2015 14:46
Show Gist options
  • Save haohcraft/f1e1926f3b26c5b5ae88 to your computer and use it in GitHub Desktop.
Save haohcraft/f1e1926f3b26c5b5ae88 to your computer and use it in GitHub Desktop.
Basic Environment Setup

##Environment Setup

  1. Smile

  2. NodeJS install

2.1 Install NVM In the terminal, run curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash

2.2 reload .profile or .bash_profile source ~/.profile or source ~/.bash_profile

2.2 Install NodeJS

run `nvm install v0.12.5`
run `nvm use v0.12.5`

2.3 Install NPM run curl -L https://www.npmjs.com/install.sh | sh

*For more info about NVM, click [here](https://github.com/creationix/nvm)*
  1. Install homebrew run ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  2. Install git run sudo apt-get install git

  3. Install NPM run sudo npm install npm -g

5.1 Give permission to npm run sudo chown -R whoami ~/.npm

  1. Clone the app run

git clone https://haohcraft@bitbucket.org/haohcraft/screen-client-2.git

  1. Run the app cd screen-client-2 npm install npm run dev
@uniken
Copy link

uniken commented Jul 14, 2015

. ~/.nvm/nvm.sh after installing nvm and restart

@uniken
Copy link

uniken commented Jul 14, 2015

Before Step 6: nvm use v0.12.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment