How do I install Django on my Managed VPS?
Django is a high-level Python framework that promotes the rapid development of websites.
It speeds up the web development process so you can concentrate solely on writing your application, or the creation of complex, database-driven websites.
To begin the process, you will of course need to ensure you have purchased a Managed VPS.
To enable Django, you'll need to:
- Log in to your 20i account
- After logging in, head on over to the Manage VPS section of the control panel
- After selecting Manage (for the VPS you wish to manage), a list of applications and software should be presented on the right-hand side of the page under VPS Software
- Select the slider to install Django (installation may take a minute or two).
Once the UI states that Django has been installed, you should then be able to connect to the Managed VPS (via SSH) to confirm that this is the case.
The binary can be found at the following location:
The above can then be use as follows:
-bash-4.2$ django-admin startproject mytestwebsite
The above, syntactically, will run the django-admin binary with a view to creating a base project within a directory named mytestwebsite (from within the directory you're running the binary).
You can check if this has worked by then browsing to the project directory specified.