##Environment Setup
-
Smile
-
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)*
-
Install homebrew run
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install git run
sudo apt-get install git
-
Install NPM run
sudo npm install npm -g
5.1 Give permission to npm
run sudo chown -R
whoami ~/.npm
- Clone the app run
git clone https://haohcraft@bitbucket.org/haohcraft/screen-client-2.git
- Run the app
cd screen-client-2
npm install
npm run dev
. ~/.nvm/nvm.sh after installing nvm and restart