[Python] Web application from 0! Hands-on (0) -Environmental construction-

Overview

I had the opportunity to create a web application from scratch with Python, so as a summary! This article is about building an environment.

I want this person to read

goal

The goal is to create a web app with CURD functionality using HTML, CSS, JavaScript, Python, and SQL.

Things necessary

1. Install Python

You can download it from the official website. Download Python | Python.org 2020-07-31_10h28_38.png

After starting the installer, check "Add Python 3.8 to PATH" and click "Install Now". 2020-07-31_10h30_06.png

Start the command prompt, enter python, and when it looks like the image, the installation is successful. 2020-07-31_10h56_47.png

2. Install Visual Studio Code

You can download it from the official website. Visual Studio Code - Code Editing. Redefined 2020-07-31_10h46_58.png

Start the installer and basically proceed to the next step. If you check "Add [Open with Code] action to the file context menu of Explorer" and "Add [Open with Code] action to the directory context menu of Explorer", right-click the folder on Explorer. It is convenient because you can open it with VS Code. vscodeinstaller.png

3. Install the Visual Studio Code plugin

VS Code distributes many useful extensions. You can check it from the sidebar. 2020-07-31_11h04_44.png For the time being, I'm putting it in & I'll introduce the minimum that I'm likely to use this time.

Japanese Language Pack for Visual Studio Code It translates the default English VS Code into Japanese. 2020-07-31_11h06_12.png

Python You can run Python on VS Code. 2020-07-31_11h07_22.png

Prettier - Code formatter I'm a code formatter. (The one that automatically adjusts the indentation and space of the code) There is also a VSCode standard formatter, but I use Prettier because it is wide and easy to customize. 2020-07-31_11h12_45.png

4. Install PostgreSQL

You can download it from the EDB site. Download PostgreSQL Database for Windows, Linux and MacOS & 32-bit or 64-bit Versions | EDB 2020-07-31_10h46_49.png

Start the installer and basically proceed to the next step. 2020-07-31_10h49_02.png pgAdmin4 is a GUI tool for handling PostgreSQL easily. Without this, the operation (command line) will be from the CLI, so if you are not familiar with it, please install it with pgAdmin4 checked.

Summary

Up to here for this time! We have prepared a server-side language, database, and code editor environment!

next time···

We design apps and build databases! [Python] Web application from 0! Hands-on (1) -Design, DB construction---Qiita

Recommended Posts

[Python] Web application from 0! Hands-on (0) -Environmental construction-
[Python] Web application from 0! Hands-on (1) -Design, DB construction-
[Python] Web application from 0! Hands-on (2) -Hello World-
[Python] Web application from 0! Hands-on (3) -API implementation-
[Python] Web application from 0! Hands-on (4) -Data molding-
Web application made with Python3.4 + Django (Part.1 Environment construction)
Web application with Python + Flask ② ③
Web application with Python + Flask ④
Web application created with Python + Flask (using VScode) # 1-Virtual environment construction-
Python x Flask x PyTorch Easy construction of number recognition web application
Python: Reading JSON data from web API
[Python] A quick web application with Bottle!
Run a Python web application with Docker
Easy-to-understand explanation of Python Web application (Django) even for beginners (1) [Environment construction]
Collecting information from Twitter with Python (Environment construction)
Run a Python script from a C # GUI application
How to open a web browser from python
Data acquisition from analytics API with Google API Client for python Part 2 Web application
Python environment construction
Python explosive environment construction starting from zero (Mac)
Environment construction (python)
sql from python
Steps to develop a web application in Python
[Python] Flow from web scraping to data analysis
python environment construction
MeCab from Python
Python --Environment construction
From Python environment construction to virtual environment construction with anaconda
python environment construction
Get only articles from web pages in Python
Extract data from a web page with Python
2014 Web Application Framework Trends (PHP / Java / Ruby / Python / Perl)
Parse and visualize JSON (Web application ⑤ with Python + Flask)
Launch a Python web application with Nginx + Gunicorn with Docker
Python development environment construction 2020 [From Python installation to poetry introduction]
Use thingsspeak from python
Operate Filemaker from Python
Use fluentd from python
Access bitcoind from python
python windows environment construction
Changes from Python 3.0 to Python 3.5
homebrew python environment construction
Python from or import
Use MySQL from Python
Install python from source
Execute command from Python
Web server construction commentary
Operate neutron from Python!
Use MySQL from Python
Ubuntu (18.04.3) Web server construction
Operate LXC from Python
Manipulate riak from python
Web application using Bottle (1)
Use BigQuery from python.
Python web scraping selenium
Execute command from python
Mac environment construction Python
python & jupyterlab container construction
Application of Python 3 vars
Python application: Pandas # 3: Dataframe
[Python] Read From Stdin