Created
May 8, 2020 16:40
-
-
Save Akiyamka/db53e2c0cdc932c9e123f37f4f778abc to your computer and use it in GitHub Desktop.
How to build front end project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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