This is the base of a blogging website written in Java (and Spark)
To get this base blog online you'll need to:
- Get Billy to give you your own copy of this repo
- You probably already have this
- You'll have picked a unique domain name too
- Signup to Heroku
- Create an app on Heroku
- Use the European region when asked
- Connect your Heroku account to your Github account
- Connect your Heroku app to your Github repo
- Enable automatic deploys
- Make a change to your repo (using the Github editor)
- Visit your Heroku app's settings and add a custom domain
- add your personal CodeGuild domain
- e.g.
wm.codeguild.co
- Visit your domain and see your blog!
- Create a file for your new post in
src/main/resources/spark/template/freemarker
- Add a reference to your new post in the nav bar and the index page
It's easy, but boring. You should try using Java (and Spark) to automate these steps (be lazy!).