I am a beginner in programming languages. Therefore, I think there are some misreading and lack of understanding. In that case, I would appreciate it if you could let me know in the comments.
The "goal" wants to go as far as deploying a pre-created Python web application. I will write for beginners as much as possible.
Creation procedure
First of all, move to the place to build the environment. Enter the ubuntu server with the SSH connection described in the previous article. How to enter
$ ssh -i xxx.pem ubuntu@'username'
I think it will be like this when you enter.
ubuntu@xxx: username$
$ sudo apt-get update
$ sudo apt-get install python3-pip python-dev libpq-dev postgresql postgresql-contrib nginx
$ python3 ―version
$ psql ―version
$ nginx -v
Python is now installed. Next time, I'll create a virtual environment and set up Django.
Recommended Posts