Skip to content

Updating the site and book

We have

  • - a site for people looking for coding projects and tutorials
  • - the tutorials in book form on LeanPub

The book chapters are slightly different from the articles - they refer to 'the next chapter' and 'the previous chapter' and gifs are replaced by screenshots where possible and linked to separately.

Updating the website

  • here is a commit which shows adding a new article to the site. Cover images are created with Canva.

To add a new article, create a similar pull request to (in the 'website' subdirectory). The site is manually deployed, so ping Gareth once you're done so he can push it live.

Note that we have been editing the .css and .html files directly instead of following the original NodeJS build process.

Updating the book

Each article is also copied into These are almost the same as the online versions, but

  • We add a paragraph at the end of each chapter to introduce the next chapter
  • Gifs are replaced by a single PNG and include a link for the reader to open the .gif if they are reading the book online. If the gif is not that important for following the tutorial, you can simply replace it with a .png and skip adding a link to the full gif


Merge the changes into the GitHub repository and then regenerate the book on LeanPub. Download the unbranded epub, mobi and pdfs and upload them to the Digital Ocean space.