Deployment tech for the hobbyist, again

TL;DR: Try Dokku if you want to run multiple toy web apps on a single server and keep the cost at minimum.

Dokku logo with name

Let's talk, yet again, about deploying toy web apps. I wrote about this topic many moons ago (see docker-compose in production part 1 and part 2), but …

Continue reading »

bibo, the command line reference manager, is in beta now!

bibo beta release banner

bibo is a command line reference manager with a single source of truth: the .bib file. It is inspired by beets. After 3 years in the making I believe it's ready for other people to use.

What are the advantages over mendeley / zotero / etc. you ask …

Continue reading »

Intro to git workshop

A 4 hours introduction to git workshop for my PhD fellas. Based on an old git crash course blog post.

git logo

Why?

  • Keep your projects organized.
  • Collaborate with others.
  • Get involved with open source.

Command what?

Introduction to the command line. From now on, the rest is done there.

Configuring git …

Continue reading »

git crash course

A really short introduction to git for my PhD fellas.

First, TryGit

Clone something

There are two ways to start to work in a git repository.

  • git clone https://github.com/some_user/some_repo.git to download a project into a new directory some_repo.
  • git init to make the current directory …

Continue reading »

An Even Better Pip Worflow™

The 9th major version of pip, the recommended tool for installing python packages, was released two days ago. I took a short look on the changelog to see what's new. At first, I couldn't notice anything that will change my current workflows. Usually, the important changes are listed first, but …

Continue reading »

docker-compose in production - part 2

Few months ago I shared my experiences with docker-compose in production. Recently I faced another deployment and decided to use the same technique. This time I used it somewhat differently. In this blog post I would like to share the new experiences.

I started by following the process that went …

Continue reading »

Continuous integration and delivery with travis-ci and codeship

Travis vs. Codeship

Generally speaking, continuous integration (CI) is the process of running your test suite automatically when you push code to your repo. Continuous delivery / deployment (CD) is the process of deploying the new code to your server whenever you push to specific branches in your repo. There is enough information about …

Continue reading »

docker-compose in production

Deployment sucks! I'm not a dev ops / sys admin type of person, and every time I'm into deploying a web project I start to rethink the whole process and get confused. Recently, I decided to restart the work on one of my older django projects, Xteams, and one of the …

Continue reading »

Poor man's trick to add and remove conda from $PATH

Conda is great for managing dependencies as matplotlib and scipy: try to install these with pip, in a virtualenv, and you will be convinced that conda is better in that regard. But! Somehow, the folks at continuum analytics decided that using conda should override the default python environment (the system-wide …

Continue reading »