https://github.com/urpagin/quickflask
A simple Linux setup to dockerize a Python Flask app
https://github.com/urpagin/quickflask
Last synced: 3 months ago
JSON representation
A simple Linux setup to dockerize a Python Flask app
- Host: GitHub
- URL: https://github.com/urpagin/quickflask
- Owner: Urpagin
- License: gpl-3.0
- Created: 2024-01-27T22:05:14.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-09T18:09:19.000Z (over 1 year ago)
- Last Synced: 2025-01-19T12:12:33.605Z (5 months ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Requirements
Be sure to have **git** and **docker** (and *vim*) installed.# Step-by-step guide
1. Clone the repo and go into the directory
```bash
git clone https://github.com/Urpagin/QuickFlask.git && cd QuickFlask
```
2. Open the `update.sh` file with your editor of choice (we'll use vim) and set the the `container_name` and `container_port` variables
```bash
vim update.sh
```
3. Execute the `update.sh` file to build & run the container
```bash
./update.sh
```
4. The app should now be accessible with `http://:` or `http://127.0.0.1:` if you are on the same machine
