Guide to Install Consent Receipt API
Deploy client and server side code base and web server into Heroku:
1.) Deploy Git command line: download the dmg file from
http://git-scm.com/download/mac
2.) Get the client and server side code onto your local machine’s working directory of your choice from the Repo of Project Owners Choice
3.) Use cd command to go into CISWG/ConsetReceipt/mvcr
4.) Now, we’ll make ‘mvcr’ as a local git repository (and later we will push them into remote) using git init command, as follows:
5.) Add a file called Procfile into mvcr directory with only one line within the file
web: node server.js
This file is needed for heroku to build/deploy a node.js application as part of their buildpack requirement.
6.) commit your repository but they are still in local repo:
7.) Create a git account if you dont already have one. Create a heroku account if you dont already have it. Download Heroku toolbelt from the location below:
https://toolbelt.heroku.com/
8.) From mvcr directory where you currently are, login into heroku
9.) Create heroku remote with git called ‘heroku-mvcr’
10.) Push committed repo into that remote
11.) Url to your App:
Example: https://still-caverns-2170.herokuapp.com/
12.) Make sure at least one instance of your just deployed server is running by applying the following command:
13.) Create a Consent receipt to test that deployment is working at:
https://still-caverns-2170.herokuapp.com/