Publish your prototype online
Publishing your prototype online means you can:
- share it with others, such as colleagues
- test it with users
You'll need a hosting service to publish prototypes online.
Hosting services
The HS2 prototype kit runs on any hosting service that supports Node.js.
Your organisation may already use a hosting service for the prototype kit. Check with your digital team about which platform to use.
For example:
- Heroku (requires payment) – see GitHub integration on Heroku website
- Railway – see Deploy repository on Railway website
Some hosting services may automatically update your prototype every time you merge new changes in the connected GitHub repository. If it doesn't automatically update your prototype, you will need to do this manually.
Setting a password
When running the prototype kit online, you must set a username and password. This is to stop anyone accidentally finding your prototype and mistaking it for a real service.
To set a password, check your hosting services documentation on how to set "environment variables". (It may have a slightly different name like "config vars" or "variables".)