Skip to content

Instantly share code, notes, and snippets.

@mribica
Last active March 2, 2017 11:51
Show Gist options
  • Save mribica/297371c9b4d3bb0e91bda388b2df5df3 to your computer and use it in GitHub Desktop.
Save mribica/297371c9b4d3bb0e91bda388b2df5df3 to your computer and use it in GitHub Desktop.
Create react app
brew update
brew install yarn

Add export PATH="$PATH:`yarn global bin`" to your profile

yarn start
    Starts the development server.
yarn run build
    Bundles the app into static files for production.
yarn test
    Starts the test runner.
yarn run eject
    Removes this tool and copies build dependencies, configuration files
    and scripts into the app directory. If you do this, you can’t go back!

Install Dependencies

yarn add react-bootstrap --save
npm install bootstrap@3 --save

What is running on port

lsof -n -i4TCP:$PORT | grep LISTEN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment