add step to download examples to development and production setup, #349
This commit is contained in:
parent
5f1de43493
commit
e6979ebed2
1 changed files with 8 additions and 6 deletions
14
README.md
14
README.md
|
@ -26,10 +26,11 @@ This project is currently in development! It will be announced when there is a (
|
|||
```
|
||||
If you don't care about being able to upload media files to S3 or Login with Github, you can drop in the file exactly how it is. Or, if you don't want to do that, just ask me to send you mine. Refer to [this gist](https://gist.github.com/catarak/70c9301f0fd1ac2d6b58de03f61997e3) for creating an S3 bucket for testing, or if you don't want to do that, I can add you to one of my S3 buckets.
|
||||
|
||||
6. `$ npm start`
|
||||
7. Navigate to [http://localhost:8000](http://localhost:8000) in your browser
|
||||
8. Install the [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en).
|
||||
9. Open and close the Redux DevTools using `ctrl+h`, and move them with `ctrl+w`
|
||||
6. `$ npm run fetch-examples` - this downloads the example sketches into a user called 'p5'
|
||||
7. `$ npm start`
|
||||
8. Navigate to [http://localhost:8000](http://localhost:8000) in your browser
|
||||
9. Install the [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en).
|
||||
10. Open and close the Redux DevTools using `ctrl+h`, and move them with `ctrl+w`
|
||||
|
||||
### Testing SSL on your local machine
|
||||
Please refer to [this gist](https://gist.github.com/andrewn/953ffd5cb17ac2634dc969fc7bdaff3f). This allows you to access the editor using both HTTP and HTTPS. Don't worry about this unless you need to make changes or test HTTPS behavior.
|
||||
|
@ -57,8 +58,9 @@ The automatic redirection to HTTPS is turned off by default in development. If y
|
|||
```
|
||||
For production, you will need to have real Github and Amazon credentions. Refer to [this gist](https://gist.github.com/catarak/70c9301f0fd1ac2d6b58de03f61997e3) for creating an S3 bucket for testing.
|
||||
|
||||
6. `$ npm run build`
|
||||
7. `$ npm run start:prod`
|
||||
6. `$ npm run fetch-examples` - this downloads the example sketches into a user called 'p5'
|
||||
7. `$ npm run build`
|
||||
8. `$ npm run start:prod`
|
||||
|
||||
### For Production Setup with PM2
|
||||
1. `$ npm install -g pm2`
|
||||
|
|
Loading…
Reference in a new issue