PrototypingDeploying your prototype

One of the ways you can deploy, or publish and share your prototype with others, is through Heroku.

Set up your remote repository

If you want to deploy your prototype so it can be tested with users or allow others to collaborate on it, you can set up a blank code repository in GitHub.

Optional: Commit and push your new prototype

Run the following commands to push up the first version of your new prototype to your remote code repository:

git remote add origin git@github.com:YOUR_USER/YOUR-PROTOTYPE.git
git push -u origin master

Create an app on Heroku

  1. Create a Heroku account
  2. Click on New and select Create new app
  3. A prototype deployed on Heroku is called an ‘app’. Type in an app name for your prototype and choose Europe as your region. Click Create app
Heroku screen showing area for creating new app

Deploy your prototype

Under deployment method, Heroku Git should be pre-selected. Follow the instructions on the page to Deploy using Heroku Git

Heroku screen showing deployment method using Heroku Git

Set a username and password

  1. After you’ve completed the last step to deploy your application, click on the Settings tab on Heroku, click on Reveal config vars and enter your username and password.
  2. Once that is done, click on the Open app tab to view your prototype. It will have a url like your-prototype.herokuapp.com
Heroku screen showing area for setting username and password