You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
chae 8509508a5b first part of documentation 1 year ago
static pushing the flask example 2 years ago
templates pushing the flask example 2 years ago
README copy.md first part of documentation 1 year ago
README.md first part of documentation 1 year ago
TODO.md first part of documentation 1 year ago
app.py pushing the flask example 2 years ago

README.md

Flask

Flask is --- (2 sentences)

SET UP

First clone the repository (aka repo)

git clone https://git.xpub.nl/manetta/flask-example.git

then move in to the folder

cd flask-example

Create virtual environment (need explanation what is virtual environment and why this is needed ---> wiki⛄) This will create a virtual environment in a folder called venv. (the first venv is the command, the second venv is the name of the folder)

Virtual Environment

python3 -m venv venv

Install requirements. We are taking the list of packages to install from a file called requirements.txt (maybe more on that in the wiki?)

pip install -r requirements.txt

RUN LOCALLY

  • run python

RUN GLOBALLY..?

How to manage Locally and globally

use git