Tagged: code

Published on:

What I learnt today: deploying subfolders with Deploy

To deploy code from my repositories, I use a service called Deploy. It allows you to enter FTP connections and to specify a folder to deploy into. But what I missed until today, was the possibility of deploying only a subfolder of my repository.

For frontend development I use tools like SASS and Grunt. When I compile my SASS files, combine JavaScripts etc., my Grunt tasks place them in a build folder. When I deploy the code, Deploy not only uploads the files in the build folder, but also all the source files, that aren’t really needed on the server.

Today I discovered that Deploy can actually deploy code from a subfolder within a repository. When setting up a server to deploy to, you can specify a folder in the repository which will be deployed from. That’s what I learnt today.

Published on:

What I learnt today: legacy code

Today I needed to add functionality to a website I built five years ago. As we all know, five years on the web feel like centuries.

I worked through some of the code I’d written, both head-shaking and amusedly smiling. Boy, did I write some silly stuff back in the day! But it’s in situations like this that I realise how far I’ve come since then and how much I’ve learned along the way. That’s what I love about working on the web. And that’s what I learnt today.