Archives July 2015

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

Unittest and reusable app

Published July 19, 2015 in Development - Last update on July 18, 2015.

You had fun, you wrote a Django third app. You should have write unittests before but you didn't know where to place them. For my case when I wrote Django Admin CLI I used the work made in Django Comments, let's explain it a little.

All testing code are stored in tests/ directory ...

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

Jerome Debray's tools

Published July 7, 2015 in Development, Web - Last update on July 8, 2015.

One tool I use a long time ago is CSS mutli-column generator by Jerome Debray. This tools helps me to make a correct CSS for create <li> in sereral columns. Simple example:

  • Column 1 - Row 1
  • Column 1 - Row 2
  • Column 2 - Row 1
  • Column 2 - Row 2

CSS used:

-moz-column-count:2;
-webkit-column-count:2;
-o-column-count ...

Continue reading

Docker-composing my blog

Published July 5, 2015 in Docker - Last update on July 7, 2015.

As said in previous post about Docker, my blog's Docker Image is only a middleware container. It needs to be launch with a frontend, a database and optionnaly a cache. A solution for get ready to play with a full containerized architecture is docker-compose, with it I followed micro-services architecturing and only define one ...

Continue reading

Django Admin CLI

Published July 4, 2015 in Development, System administration - Last update on July 6, 2015.

I ever want to manage Django models directly from command line. In my dreams I have a curses script which have the same look and feel than Django Admin, in fact I created a CRUD application named Django Admin CLI. It is a Django third app linked to Admin's registry which allow DRY, easy ...

Continue reading