back to before

master
chae 1 year ago
parent 99005cda0d
commit 8a37388aea

@ -1,22 +0,0 @@
# Flask example
This is a Flask example that you can use to make web applications.
## Install
You need to install Flask on your computer (or on the server you are working):
`$ pip3 install flask`
## Run the web application
You can run the example application in different ways, here two examples:
* `$ python3 app.py`
* `$ flask --debug run`
## Documentation
* <https://flask.palletsprojects.com/en/2.2.x/>
* <https://pzwiki.wdka.nl/mediadesign/Flask>

@ -1,38 +1,22 @@
# Flask # Flask example
Flask is a - - - - (2 sentences)
## SET UP This is a Flask example that you can use to make web applications.
First clone the repository (aka repo) ## Install
```git clone https://git.xpub.nl/manetta/flask-example.git``` You need to install Flask on your computer (or on the server you are working):
then navigate to the folder `$ pip3 install flask`
```cd flask-example``` ## Run the web application
Create virtual environment (need explanation what is virtual environment and why this is needed `---> wiki⛄`) You can run the example application in different ways, here two examples:
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](wiki/Home_hello) * `$ python3 app.py`
* `$ flask --debug run`
## Documentation
```python3 -m venv venv``` * <https://flask.palletsprojects.com/en/2.2.x/>
* <https://pzwiki.wdka.nl/mediadesign/Flask>
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
Loading…
Cancel
Save