Category Archives: setup

Generate Django Model graphic representation (Entity–relationship model (ERD))

Install graphviz and libgraphviz-dev before installing pip packages. Add these lines to settings.py file To generate dotfiles run this command from django prompt. This is the simplest form of generating graph for all the apps. To get image instead of dotfile run this command Links for reference https://django-extensions.readthedocs.io/en/latest/graph_models.html https://pypi.org/project/django-extensions

Redirection with php code

Simple redirection with just 3 lines of code in with the last line says exit;. This worked for drupal 6 and hope it will work for other CMS’s too. 1. Open the file /home/user/public_html/sites/all/themes/acquia_marina/page.tpl.php and add the following lines on the top of the file.

Install debian on chromebook acer c720

Acer C720 is compact and very handy. It is packed with celeron 1.40 GHz processor and 2 Gigs of ram with 32 GB SSD. It has a ~4100mAh battery which should last for 4+ hours with debian without X. I did a quick search and found a way to install debian on to this device.… Read More »

configure mymine app for self-signed certs

Mymine is a cool app for redmine. Their is one problem thought I was not able to configure mymine with self-signed certificate instance of redmine. I found a way to make it work. These are the steps to configure mymine to work with self-signed certificate sites. Step 1 (Get the cert) Enter sites URL in… Read More »