Blog / Django

Send Shopify events to Slack with Slacky

May 28, 2016

Around a couple of months ago, a good friend of mine who's also a developer and I were chatting on Slack about app platforms we could build apps for on the side. One platform that came up was Shopify and after doing some research on the Shopify App Store we decided to team up to build our first app. We called our company Highview Apps.

We brainstormed for a bit, trying to come up …

Ansible playbook for provisioning a Jenkins CI server

May 27, 2016

I've finally decided to set up a Jenkins CI server for my Django projects earlier this week. For a long time, I've been deploying code via command line with Ansible. It worked very well but occasionally I find myself deploying from a coffee shop with unreliable connection, causing the deployment to get interrupted. Deploying instead from a virtual private server in the cloud would solve this and using Jenkins to do it was the first …

Adding a Time Zone setting to your Django app

October 29, 2015

I'm currently working with a friend of mine on a Django app for Amazon sellers to automatically reprice their product listings. One of the features of the app is to show the price change history of their listings. Since they would want to see the timestamp of when the change occurred, we added a setting for them to set their Time Zone so they won't have to do time adjustments in their head.

We store …

Certificate verify failure with version 2015.9.6.2 of the certifi package

October 12, 2015

I just spent the past hour trying to troubleshoot this error message I was getting from the requests package when communicating with the MailChimp API:

SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

I just provisioned a production server running Ubuntu 14.04 x64 for a new Django project and had been pulling my hair out trying to figure out why it was throwing this error when our stage server works perfectly. Finally I decided to …

Using Amazon SQS with Django and Celery

August 31, 2015

I'm currently working on a new Django project which relies heavily on Celery. I normally use RabbitMQ for these kinds of projects but I decided to give Amazon SQS a try this time as it's very cheap and will simplify my setup.

While the Celery docs does a pretty good job explaining how to set it up, there were a few things that it didn't cover that I'm sure other devs will run into. …