Will & Skill Developers

Will & Skill Developers

Thoughts, snippets and ideas from the team at Will & Skill AB, Stockholm.


Custom Code Snippets in VS Code + BONUS: DJANGO Template Snippets & Date-Stamped Comments

*Syntax Error* Ever misspelled something whilst spinning up a Django template? Do you ever struggle to remember the syntax of that template tag you rarely use? Custom VS Code snippets to the rescue! With Visual Studio Code it's really easy to add custom code snippets. In fact, it's so easy, it would be a crime not to... so stop wasting ti…

Simon Almers

Tips for a cleaner Django settings.py

Clean paths import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # The root of the git repo - Could be ~/project or ~/repo REPO_DIR = os.path.realpath(os.path.join(BASE_DIR, '..')) # The directory of the current user ie /home/django a.k…

Faisal MahmudFaisal Mahmud

W&S devops part 2 - Setting up a Continuous Integration (CI) server using Docker and drone.io

Welcome to part 2 in this series where we look at different tools and techniques to help create a better workflow for your development. In this tutorial we'll look at how we can install and configure our very own Continuous Integration server. More specifically we'll be: 1. Installing docker on and drone.io on a server running ubuntu 14.…

Erik SErik S