mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
parent
ebee05591b
commit
a6590ea0ae
1 changed files with 15 additions and 3 deletions
14
doc/build.md
14
doc/build.md
|
@ -15,6 +15,19 @@ Please note that all mining functions for Grin have moved into a separate, stand
|
|||
[grin_miner](https://github.com/mimblewimble/grin-miner). Once your Grin code node is up and running,
|
||||
you can start mining by building and runing grin-miner against your running Grin node.
|
||||
|
||||
## Docker
|
||||
|
||||
# Build using all available cores
|
||||
docker build -t grin .
|
||||
|
||||
# run in foreground
|
||||
docker run -it -v grin:/usr/src/grin grin
|
||||
|
||||
# or in background
|
||||
docker run -it -d -v grin:/usr/src/grin grin
|
||||
|
||||
If you decide to use a persistent storage (e.g. ```-v grin:/usr/src/grin```) you will need grin.toml configuration file in it.
|
||||
|
||||
## Requirements
|
||||
|
||||
- rust 1.24+ (use [rustup]((https://www.rustup.rs/))- i.e. `curl https://sh.rustup.rs -sSf | sh; source $HOME/.cargo/env`)
|
||||
|
@ -103,4 +116,3 @@ grin client help
|
|||
The wiki page [How to use grin](https://github.com/mimblewimble/docs/wiki/How-to-use-grin)
|
||||
and linked pages have more information on what features we have,
|
||||
troubleshooting, etc.
|
||||
|
||||
|
|
Loading…
Reference in a new issue