This is the base of blogging website written in PHP
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
web/views/posts
- Update
web/views/layout.html
to include your new post - Update
web/views/index.twig
to include your new post
It's easy, but boring. You should try using PHP (and Silex) to automate these steps (be lazy!).