Deploying a Django app on AWS
Prerequisites
Install Python
Check for python and pip, and their versions:
$ python --verison $ pip --version
Python 3.x
Python 3.x is often invoked as python3.
$ python3 --verison
If Python 3 is not installed:[1]
$ sudo yum list | grep python3 $ sudo yum install python34 # or relevant version
Install virtualenv
$ pip install virtualenv
Notes
See also
- Deploying a Django Application - AWS Elastic Beanstalk documentation
- Common Steps for Deploying Python Applications - AWS Elastic Beanstalk documentation
- Installing Python - AWS Elastic Beanstalk documentation
References
- ↑ How do I install python3 on an AWS instace (Stackoverflow)