By JoseGalvan
Hello everybody,
I am trying to deploy an old django app in digital ocean, this app is using django 1.8, python 2.7, is it posible to deploy this app here ? and if so, any guidance, link to right documentation or reference will be greatly appreciated.
TIA Jose.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @JoseGalvan,
Yes, it’s possible! As long as you find a way to install those exact versions that is.
Let’ start with Python:
To install Python 2 version on Ubuntu 20.04 enter one of the following commands:
sudo apt install python2
OR
sudo apt install python-minimal
Then you can check your current Python version with:
$ python2 -V
Python 2.7.17
Now, installing Django:
You need to have pip installed first:
apt-get install python-pip
You might need to do something like:
apt-get install python2-pip
Once you have pip for python2, you can run:
pip install Django==1.8.1
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.