/QuickFlask

A simple Linux setup to dockerize a Python Flask app

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Requirements

Be sure to have git and docker (and vim) installed.

Step-by-step guide

  1. Clone the repo and go into the directory
git clone https://github.com/Urpagin/QuickFlask.git && cd QuickFlask
  1. Open the update.sh file with your editor of choice (we'll use vim) and set the the container_name and container_port variables
vim update.sh
  1. Execute the update.sh file to build & run the container
./update.sh
  1. The app should now be accessible with http://<your_machine_ip>:<container_port> or http://127.0.0.1:<container_port> if you are on the same machine image