It can be used for serving a static blog or your personal portfolio page etc. You can check the demo here
How to deploy on Heroku:
- Make sure you already have an account on Heroku and you have set up your local machine.
heroku logincommand in terminal, enter your email and password. If you get 'Authentication successful.' then your machine is setup.
- Download the zip or clone this repo by running following :
git clone https://github.com/avinassh/heroku-tornado-starter.git
- cd into the heroku-tornado-starter
- Run this to create an app on Heroku:
heroku create --stack cedar
- Now push the repo to heroku by running:
git push heroku master
- Done ! Run
heroku opento open your site in browser.
- Bro tip : rename the app by following :
heroku apps:rename new-name
Feeling lazy? Run the starter.sh script, it will do all the steps for you!
So, what next?
To keep things clean, move all your images to assets/images and other assets to respective directories. You can link them in your HTML with path relative to root.
<link rel="stylesheet" href="/assets/css/style.css">
Once all required changes are made, commit them and then run
git push heroku master. Done!