If you’re a developer who is going to be developing apps in Django, it may be a good thing to use Mezzanine to make the process seamless with rapid development and clean pragmatic design. For more about Mezzanine, please visit its homepage. There are multiple ways to install Mezzanine on Ubuntu, however, the quickest way is to use Python and PIP to get it installed. When you’re ready to get Mezzanine on Ubuntu, follow the steps below:
Install Prerequisites
By default, Ubuntu comes with some packages but not everything that allows you to install the Mezzanine web framework. For example, Python might not come standard with Ubuntu so you may have to install it. Run the commands below to install Python and Python-pip. That should install what you need to get the Mezzanine installed on Ubuntu. To verify what version of Python is installed, run the commands below , and for PIP, run the commands below
Install Mezzanine
Now that the basic requirements to get Mezzanine on Ubuntu are installed, run the commands below to download and install Mezzanine packages. The mezzanine has its source code on Github that you can use to download and use. however, the quickest way is to use Python PIP. Run the commands below to download and install Mezzanine using Python virtual environment (virtualenv). That should get the Mezzanine installed and ready to use.
Create Mezzanine App
Now that the Mezzanine is installed, go and create your first app. You can create it in your home directory or anywhere on the system. For this tutorial, we’re going to create the app in the home directory. After that, you’ll be prompted to access the default hostname or create your site URL. That should set up the Mezzanine environment. you will also be prompted to create the default admin account to log on to the backend. this account will be used to access the Mezzanine backend portal. When you’re done, run the commands below to start up and run the Mezzanine server. Now, open your browser and go to the server hostname or IP address followed by port 8000 You should see a Mezzanine welcome page similar to the one below To go to the admin backend portal, type That should prompt you for the superuser account and password… and allow you to log on to the backend… That’s it! Although that are many other settings you must configure to suit your environment, the steps above are the bare minimum to get the Mezzanine installed… To get external access to the Mezzanine server, open its settings.py page and add the IPs You may also like the post below: