Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add run command for windows users #48

Merged
merged 1 commit into from
Dec 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


Expand All @@ -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
Expand Down