Skip to content

Commit

Permalink
Merge pull request #48 from INOPIAE/readme
Browse files Browse the repository at this point in the history
Add run command for windows users
  • Loading branch information
satwikkansal authored Dec 5, 2022
2 parents 6fe0c69 + f172c7b commit 3f4e729
Showing 1 changed file with 13 additions and 1 deletion.
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

0 comments on commit 3f4e729

Please sign in to comment.