From c91199faa830ccbf6024e532439c9eb816809df5 Mon Sep 17 00:00:00 2001 From: Francis Li Date: Sat, 19 Jan 2019 15:14:27 -0800 Subject: [PATCH] Edits as requested. Change template URL to processing repo, master branch to reflect final merge destination. --- developer_docs/deployment.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/developer_docs/deployment.md b/developer_docs/deployment.md index 3fca9cac..013061aa 100644 --- a/developer_docs/deployment.md +++ b/developer_docs/deployment.md @@ -39,12 +39,12 @@ You'll only need to do this if you're testing the production environment locally 8. Since production assumes your environment variables are in the shell environment, and not in a `.env` file, you will have to run `export $(grep -v '^#' .env | xargs)` or a similar command, see this [Stack Overflow answer](https://stackoverflow.com/a/20909045/4086967). 9. `$ npm run start:prod` -## Heroku Deployment +## Self Hosting - Heroku Deployment -You can evaluate hosting a complete p5.js Web Editor instance at no cost on Heroku. +If you are interested in hosting and deploying your own p5.js Web Editor instance, you can! It would be the same as the official editor instance at editor.p5js.org, except with a different domain, and you would be in charge of the maintenance. We recommend using Heroku as you can host it for free. 1. Sign up for a free account at: [Heroku](https://www.heroku.com/) -2. Click here: [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/passion-for-coding/p5.js-web-editor/tree/heroku-deployment) +2. Click here: [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/processing/p5.js-web-editor/tree/master) 3. Enter a unique *App name*, this will become part of the url (i.e. https://app-name.herokuapp.com/) 4. Update any configuration variables, or accept the defaults for a quick evaluation (they can be changed later to enable full functionality) 5. Click on the "Deploy app" button