Create a Web Application (45m)
- Due Jan 27, 2020 by 11:59pm
- Points 100
- Submitting a website url
(The instructions below use the acronym MHCID which references a graduate school version of this class)
From your github account create a new repository:
From your heroku app create a new application.
Connect the application to your github account
Connect the heroku application to the github repository
In Heroku, enable automatic deploys
In your github repository, "Create new file" called "index.php" (Yours will only show the README.md file at this point)
Add one line to it:
<?php header( 'Location: /index.html' ) ; ?>
Once you are done editing, add a message that explains your changes and then "Commit new file"
In your github repository, "Create new file" called "index.html" (At this point your should only have README.md and index.php in it)
In that file put a basic web page that has
- The appropriate boilerplate for an html file
- a title tag
- an h1 tag
- a paragraph
- your name
Once you are done editing, add a message that explains your changes and then "Commit new file"
In Heroku, do a Manual Deploy and "Deploy Branch"
From Heroku, click on the "View" button
Copy the URL from the web browser that opens and turn that in (for example https://demo-for-mhcid.herokuapp.com/index.html )
Congratulations! You just made a web page and put it in the cloud.