Will & Skill Developers

Will & Skill Developers


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

Django

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 SvedinErik Svedin