forked from google/pybadges
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add information about program in README.md
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
## Simple Server | ||
|
||
### Installing | ||
|
||
Before running, it is **recommended** to install the versions of packages that were used when writing this code: | ||
|
||
```sh | ||
pip install -r requirements.txt | ||
``` | ||
|
||
And if you don't have installed flask yet: | ||
|
||
```sh | ||
apt install python3-flask | ||
``` | ||
|
||
### Running | ||
|
||
You must inform the environment variable FLASK_APP and then run: | ||
|
||
```sh | ||
export FLASK_APP=hello.py | ||
flask run | ||
``` | ||
|
||
* Running on https://127.0.0.1:5000/ |