Skip to content

Instantly share code, notes, and snippets.

@Akiyamka
Created May 8, 2020 16:40
Show Gist options
  • Save Akiyamka/db53e2c0cdc932c9e123f37f4f778abc to your computer and use it in GitHub Desktop.
Save Akiyamka/db53e2c0cdc932c9e123f37f4f778abc to your computer and use it in GitHub Desktop.
How to build front end project
# Check node is installed
node -v
# if not, install it
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
nvm install stable
# install yarn
curl -o- -L https://yarnpkg.com/install.sh | bash
# install project deps
cd ./project/dir
yarn install
# Start app
yarn start
# That's all!
# Fow list all project commands run
grep "scripts" -A 50 ./package.json | sed '/}/ q'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment