From f172c7b735b896900a65690799836d8c0cb793a6 Mon Sep 17 00:00:00 2001 From: INOPIAE Date: Tue, 13 Oct 2020 14:51:49 +0200 Subject: [PATCH] Add run command for windows users fixes issue #41 --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a6d815..86ea1b2 100644 --- a/README.md +++ b/README.md @@ -24,11 +24,16 @@ $ pip install -r requirements.txt Start a blockchain node server, ```sh -# Windows users can follow this: https://flask.palletsprojects.com/en/1.1.x/cli/#application-discovery $ export FLASK_APP=node_server.py $ flask run --port 8000 ``` +### For windows users +``` +set LANG=C.UTF-8 +set FLASK_APP=node_server.py +flask run --port 8000 +``` One instance of our blockchain node is now up and running at port 8000. @@ -38,6 +43,13 @@ Run the application on a different terminal session, $ python run_app.py ``` +### For windows users +``` +set LANG=C.UTF-8 +set FLASK_APP=run_app.py +flask run --port 8000 +``` + The application should be up and running at [http://localhost:5000](http://localhost:5000). Here are a few screenshots