Showing posts with label Python. Show all posts
Showing posts with label Python. Show all posts

Feb 12, 2013

Deploying Python applications

I have to interrupt the ongoing series on Mercurial, Fabric, Liquibase and Kohana. There is stuff which I had to take care of immediately. However the problems I am solving right now are the ones I was writing recently anyway.

Jan 30, 2013

Mercurial, Fabric, Liquibase, Kohana (part 4)

Today I am focusing on making sure all database related stuff from previous parts can be executed by me and any of my teammates on their local machines using Fabric.

Jan 28, 2013

Mercurial, Fabric, Liquibase, Kohana (part 3)

My new application is going to require an authentication. I am not looking for anything fancy. For starters the ORM authentication available in Kohana 3.3 will do. I may extend it later. This means that I am going to use database to store user accounts. As I am a big fan of database code versioning I'll be using LiquiBase to do that. So how to go about it?

Jan 26, 2013

Mercurial, Fabric, Liquibase, Kohana (part 2)

I will be using Mercurial to keep track of changes to a project. I create a project directory and initialize a Mercurial repository in it:

shell> hg init

I do like to have an option to switch Kohana with new version easily in my projects. To achieve that I unpack downloaded Kohana into kohana directory of my project. I then copy application directory from kohana folder into root of my project, so it is on the same level with kohana directory. The same needs to be done with index.php and .htacess. Structure of my project looks like this after that:

project
  |- application
  |- kohana
  |- .htaccess
  |- index.php


Jan 25, 2013

Mercurial, Fabric, Liquibase, Kohana (part 1)

I'd like to to start writing about my usage of these tools, but inevitably I would have to write why I am using those specific tools. So not to return to this later I start with my reasons.

May 18, 2012

Graphviz - dot source for my graph

For those who wandered what is the input file for my graph... The input files for graphviz are called "dot" files. Here is the input "dot" file for my graph from the last post:

Graghviz in action
Graghviz in action

May 16, 2012

Graphviz - data visualization

I had a problem to follow a logic in someones programming and I had to deliver... I had to come up with a solution to push the brick forward. I started to look for a visualization tool for my problem. And to my surprise I found a graphviz - a tool for data visualization.

After some time I was able to come up with this:
Graghviz in action
Graphviz in action

Jul 31, 2009

Extracting all possible info about MySQL database

We need a tool which can extract all possible info about MySQL database to have it as a source for another tool which compares extracted info to an existing database and executes necessary changes. Works goes all around very well. Here is just a link to some useful information: http://code.openark.org/blog/mysql/useful-database-analysis-queries-with-information_schema

Jul 28, 2009

Distutils

Looking at distutils to publish some of the code I've written. So far so good. Here are my leads:
http://docs.python.org/distutils/
http://linux.com/archive/feature/118439
http://wiki.python.org/moin/Distutils/Tutorial

May 13, 2009

MySQLdb and Leoprad

After few hours of strugle, here is the right thing.
http://www.keningle.com/?p=11
Don't forget to install 32 bit MySQL not 64 bit....