Project IDX Demo
Use Python and Docker in Project IDX, Google's Cloud based IDE
Connect with me @
Demo Video Link
Here's the link to YouTube Demo link
About
This repository contains files for the first ever demo of Python and Docker in Project-IDX, Google's Cloud based IDE.
Steps to Follow along:
Follow along with the YouTube Demo and configure your own workspace using the below mentioned commands, one by one:
Creating Virtual Env
python3 -m venv myenv
Activating Virtual Env
source myenv/bin/activate
Requirements Installation
pip install -r requirements.txt
FastAPI
uvicorn main:app --reload
REST Client
GET http://127.0.0.1:8000/ HTTP/1.1
Docker
docker build -t my-fastapi-app .
docker run -d -p 8000:8000 my-fastapi-app
Docker (with 8040 port)
docker run -d -p 8040:8000 my-fastapi-app
REST Client (testing 8040 port)
GET http://127.0.0.1:8040/ HTTP/1.1