Bitnami Django Deployment

What is Django?

Django is a free and open source web application framework written in Python. A framework is nothing more than a collection of modules that make development easier. The official project site describes Django as “a high-level Python Web framework that encourages rapid development and clean, pragmatic design.Which follows the model-template-view architectural pattern. It is maintained by the Django Software Foundation. Django’s primary goal is to ease the creation of complex, database-driven websites.

Why use the Bitnami Django Stack?

The Bitnami Django Stack is always up-to-date and secure. The installation and configuration of the stack is automated completely, making it easy for everyone, including those who are not very technical, to get them up and running.

List Of Bitnami Django Stack Included Components

The Bitnami Django Stack ships the components listed below.

Main components

  • Python language
  • Django framework
  • Apache Web server
  • MySQL database server (optional)
  • PostgreSQL database server (optional)
  • GeoDjango and PostGIS
  • Mod_wsgi

Dependencies and additional components

  • SQLite database
  • Imaging
  • easy_install
  • pip
  • OpenSSL library
  • CURL library

Where To Find MySQL & PostgreSQL credentials?

The instance/node/machine root credentials would be sent to your registered email address as soon as the Django Instance is launched.

The MySQL & PostgreSQL credentials are stored in a standalone file. To obtain the credentials at any time, follow these steps:

  • Connect to the instance/node/machine through SSH using root user credentials.

  • Run the following command to obtain your application credentials:

    cat /home/bitnami/bitnami_credentials
    

How do I access Sample Django Project Using Browser ?

Access the sample project via your browser at http://SERVER-IP/Project.

The Django project files are located at

/opt/bitnami/apps/django/django_projects