Rushi98 / flask-app

A simple environment to learn web technologies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

Using docker

docker-compose up

Virtualenv

Installation

python -m venv flask
source flask/bin/activate
pip install --no-cache-dir -r requirements.txt

Running

cd flask-app
source flask/bin/activate
export FLASK_RUN_PORT=8080
flask run --host=0.0.0.0

References:

  1. Flask Quickstart: https://flask.palletsprojects.com/en/2.0.x/quickstart/
  2. requirements.txt file format: https://pip.pypa.io/en/stable/reference/requirements-file-format/
  3. Dockerfile reference: https://docs.docker.com/engine/reference/builder/
  4. docker-compose.yml reference: https://docs.docker.com/compose/
  5. Flask templates: https://flask.palletsprojects.com/en/2.0.x/tutorial/templates/
  6. "Sending form data" MDN Web Docs: https://developer.mozilla.org/en-US/docs/Learn/Forms/Sending_and_retrieving_form_data

About

A simple environment to learn web technologies


Languages

Language:HTML 53.3%Language:Python 30.8%Language:Dockerfile 15.9%