Skip to content

divyag10/Python-flask-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running the application using, python3 -m flask run

To test that the application is working, open a new browser and navigate to http://localhost:5000.

Directory structure for project, Flask-docker

|____ app.py

|____ requirements.txt

|____ Dockerfile

To start the application and to confirm that it is running properly, run the following command: docker compose -f compose.yml up --build

To test the API endpoint, run the following command: curl http://localhost:8000/initdb curl http://localhost:8000/widgets

Using Github runner for CI/CD:

Setup SSH key in the Gitlab account. Add .gitlab-ci.yml file, add jobs to the file which can be added to different stages

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published