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 ...
There are some tricks I do a long time ago then I forget or want to share:
Save time with history expansion
First daily use case, I want to run a command but I forgot to make it as root user.
$ ls /root/ ls: cannot open directory /root/: Permission denied $ sudo !! sudo ls /root/ file1 ...
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 ...