[PYTHON] Display "Hello World" created in the local environment on the web

Start a Docker container

$ docker-compose up -d

Create a file for web display

I referred to the following site. https://www.sejuku.net/blog/28751

Enter the Docker container

$ winpty docker-compose exec python bash

Web display

python manage.py runserver

I was able to confirm that Hello World is displayed on the web.

image.png

Recommended Posts

Display "Hello World" created in the local environment on the web
How to display Hello world in python
[Android] Display images on the web in the info Window of Google Map
Execution environment on the Web by "Project Jupyter"
Hello World on Django
The story of building the fastest Linux environment in the world
Execute the command on the web server and display the result
Test.py is not reflected on the web server in Python3.
[Django3] Display a web page in Django3 + WSL + Python virtual environment
Programming language in "Hello World"
Reflect the virtual environment created with Miniconda in Jupyter notebook
[SAP CP] Web API created with python in CF environment
The image is displayed in the local development environment, but the image is not displayed on the remote server of VPS
Hello World in GO language
Hello World (beginners) on Django
VScode environment construction (on Mac) & graph display in Python (@browser)
Run the output code on the local web server as "A, pretending to be B" in python
Build a Selenium environment on Amazon Linux 2 in the shortest time
Hit the echo command in the Mac terminal to output Hello World
Python beginners tried Hello World in 30 seconds using the micro-framework Flask
Use python on Raspberry Pi 3 to illuminate the LED (Hello World)
LINEbot development, I want to check the operation in the local environment
Find the rank of a matrix in the XOR world (rank of a matrix on F2)
Jupyter Notebook 6.0.2 cannot be installed in the Python 2.7 environment created in Anaconda
Programming to fight in the world ~ 5-1
Programming to fight in the world ~ 5-5,5-6
Programming to fight in the world 5-3
Let's do "Hello World" in 40 languages! !!
Hit the web API in Python
The most cited patent in the world
cout << "Hello, World! \ N" in python
Hello World in Flask [Appropriate memo]
Display the absolute path on the Finder
Code: 2 "Hello World" in "Choregraphe-Python script"
Programming to fight in the world ~ 5-2
How to easily switch the virtual environment created by Conda on Jupyter
Deploy and use the prediction model created in Python on SQL Server
pyenv + pyenv-Automatically load the virtualenv environment in the virtualenv environment
[Python] Web application from 0! Hands-on (2) -Hello World-
Start the web server in the current directory
Addition of local development environment on MacOS
Django ~ Let's display it in the browser ~
Display matplotlib diagrams in a web application
CSS environment created in 10 minutes using Django
How to build Hello, World on #Nix
Set the environment variable PYTHONPATH on zsh
Display Python 3 in the browser with MAMP
Display the graph of tensorBoard on jupyter
Download files on the web with Python
Created Ubuntu, Python, OpenCV environment on Docker
Looking back on 2016 in the Crystal language
Build WordPress on CentOS 8 in LAMP environment
Hello world instead of localhost in Django
Install rJava on Linux in R3.6 environment.
Install the package in an offline environment
Publish the current directory on the web server
I want to use Python in the environment of pyenv + pipenv on Windows 10
I installed Pygame with Python 3.5.1 in the environment of pyenv on OS X
Let's automatically display the lyrics of the song being played on iTunes in Python
[AWS] Let's run a unit test of Lambda function in the local environment
Get information on the 100 most influential tech Twitter users in the world with python.