Add PostgreSQL or MySQL to Django projects




$ gorilla plugin add db_django

To uninstall:

$ gorilla plugin remove db_django


How to use it

To use the DB plugin for Django you have to create a new project, select the Django installer, and choose one of the three kind of database that will appear in the option selector. You can also use it in Django projects that are already created.


GorillaJS is in charge of configuring Django in order that it could work the new engine of the database.


Manage the database

You can use other plugins of GorillaJS to manage the database in an easy way. With Django manage you can use any django-admin command destined to the database management. For example, loading a sesion shell or a database copy:

$ gorilla manage dbshell
$ gorilla manage dumpdata > db.json

And with Adminer you can manage your database through its interface web.

The NodeJS installer

The NodeJS template that comes as a default in GorillaJS uses the Express.js framework to start a server and return a response. This is optional, and once the application is running we can eliminate this server and use the application in any other way.


Why do you need to free the port 80? Can you make your own installers? Can you use GorillaJS in a remote server?