This is the base of a blogging website written in Javascript (and Node.js)
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!
Simply add a new EJS file in the views/posts
directory and then link to it it the views/pages/index.ejs
file.
It's easy, but boring. You should try using Javascript and Node to automate these steps (be lazy!).