Update README.md
This commit is contained in:
parent
2d995664bb
commit
28d3ee8c16
12
README.md
12
README.md
|
@ -12,20 +12,12 @@ This is the source code for my post on [Building a Blockchain](https://medium.co
|
||||||
```
|
```
|
||||||
$ pip install pipenv
|
$ pip install pipenv
|
||||||
```
|
```
|
||||||
|
3. Install requirements
|
||||||
3. Create a _virtual environment_ and specify the Python version to use.
|
|
||||||
|
|
||||||
```
|
|
||||||
$ pipenv --python=python3.6
|
|
||||||
```
|
|
||||||
|
|
||||||
4. Install requirements.
|
|
||||||
|
|
||||||
```
|
```
|
||||||
$ pipenv install
|
$ pipenv install
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Run the server:
|
4. Run the server:
|
||||||
* `$ pipenv run python blockchain.py`
|
* `$ pipenv run python blockchain.py`
|
||||||
* `$ pipenv run python blockchain.py -p 5001`
|
* `$ pipenv run python blockchain.py -p 5001`
|
||||||
* `$ pipenv run python blockchain.py --port 5002`
|
* `$ pipenv run python blockchain.py --port 5002`
|
||||||
|
|
Loading…
Reference in New Issue