Add dev script

This commit is contained in:
MICHAEL JACKSON
2017-10-16 15:20:06 -07:00
parent 24ec2663ce
commit b92f803b97
3 changed files with 4 additions and 5 deletions

View File

@ -6,6 +6,4 @@ The project is sponsored by [Cloudflare](https://cloudflare.com) and [Heroku](ht
## Development
The website was built using [create-react-app](https://github.com/facebookincubator/create-react-app). This is the app you see when you run `yarn start`. However, none of the package links will work.
To start the backend, use `yarn run server`. This will start the backend so the website (which is really just a static HTML file) can serve as a proxy for package requests.
To start the server, use `yarn dev`. This will start the backend so the website (which is really just a static HTML file) can serve as a proxy for package requests. Then, start the app in another shell with `yarn start`.