Category archives: Deployment

A series of activities that makes a program available for use (usually in test or production environments)

RSS feed of Deployment

50 tips to maintain a Django reusable app

Published Jan. 2, 2018 in Deployment, Development, Tests and quality, Documentation, Web - Last update on Jan. 2, 2018.

I love Django, not just because it on top of Python, but more because it keeps its philosophy: All Zen of Python is respected with batteries included. The Ponies' framework has basically most tools and mechanisms a WebDev would want to have as such authentication, ORM multi-DB or template engine. But where Django becomes definitively ...

Continue reading

Store my pics on cloud

Published March 22, 2016 in Cloud, Deployment - Last update on March 22, 2016.

It's been now more than 4 month I've bought my Fujifilm X-T10 (and it's so cooool) and would like to put my photos on cloud and access them anywhere I want. I would like to store photos in raw JPEG format (4-10MB per photo) and thumbnails for preview.

As many people endorse ...

Continue reading

I moved to Gandi

Published Feb. 18, 2016 in Cloud, Deployment - Last update on Feb. 18, 2016.

After more than one year with $500 of credits at RunAbove, OVH decided to close its beta compute IaaS. I didn't think it was closing soon and already invest a lot in: I hosted my weblog there, implement libcloud compute driver, have a pending pull request for libcloud storage driver and also plan to ...

Continue reading

I tested all SaaS CI tools

Published Nov. 23, 2015 in Cloud, Deployment, Development - Last update on Nov. 23, 2015.

I really hate Jenkins for several non-objective reasons and it's not a classic hatred, more a life struggle where all episode begin by my signature on an employment contract. Most societies made the effort to open a private Gitlab but ask them to forget Jenkins and move into CI tools into SaaS is clearly unbelievable.

It is ...

Continue reading

Never use python setup.py upload

Published Aug. 23, 2015 in Deployment, Development - Last update on Aug. 23, 2015.

In Python packaged projects where I work, I used to add a make register command for create a new version of my package. This launch a script I wrote which make the following things:

  1. Get the version number written in package
  2. Create a git tag
  3. Push the tag to the upstream
  4. Create a package
  5. Upload ...

Continue reading

I can't Google App Enginering my blog

Published July 26, 2015 in Cloud, Deployment - Last update on July 26, 2015.

A long time ago before Google launched Google Cloud Platform, I played with App Engine and Django. Despite of the fact you must swith from Django usual tools (Celery or ORM) to Google services like Memcache or Task Queue, I was seduced by their fast deployment system.

A standard Django app is fastly adaptable to ...

Continue reading

Docker at RunAbove with SailAbove

Published July 8, 2015 in Cloud, Deployment, Docker - Last update on July 12, 2015.

In the Docker tsnuami where we are, most cloud company has their own public container offer:

Those services are stiil often in Beta or Alpha and for begin a turn around of this Docker compatible offers, I started by ...

Continue reading

Django settings by environment

Published May 22, 2015 in Deployment, Development - Last update on July 6, 2015.

One thing not explained in Django Doc is how to make your project to live accross environments. Some settings need to have different values when used in production or testing, and testers might want to set their own values. A clear example is I wanna use a MySQL in production and SQLite in testing.

What ...

Continue reading

Ansible Part 1: J'ansible, Tu ansibles, il...

Published May 15, 2015 in Deployment, System administration - Last update on July 6, 2015.

Ansible is my favourite deployment and configuration management tools. After tested direct concurrency, Puppet and Chef, my choice naturally went to Ansible.

  • 1st it is in Python
  • 2nd it has a clear YAML syntax
  • 3rd it is simple.

What's the stack

My blog uses a classical Django webstack: Nginx + uWSGI + Django + MySQL. Because I ...

Continue reading