Will & Skill Developers

Will & Skill Developers


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

Erik Svedin
Author

Erik Svedin

Migrating from MySQL to PostgreSQL

1. Create database user & database: $ sudo -i -u postgres $ psql $ CREATE USER <DATABASE_USER> WITH PASSWORD '<DATABASE_PASSWORD>'; $ CREATE DATABASE <DATABASE_NAME>; $ GRANT ALL PRIVILEGES ON DATABASE <DATABASE_NAME> to <DATABASE_USER>; 2. Create interim database settings in settings.py NOTE: Make sure…

Erik SvedinErik Svedin

W&S devops part 2.5 - Testing a django project using drone.io

In the previous post we installed and integrated an instance of drone.io with our github account. Now its time to actually test a real project and send notifications about the build status to a Slack channel. The project I will be using for this tutorial can be found here. It is a super simple project which has a single view and both a u…

Erik SvedinErik Svedin

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