lunar-mining 5 лет назад
Родитель
Сommit
ef163efb32
1 измененных файлов с 21 добавлено и 17 удалено
  1. 21 17
      README.md

+ 21 - 17
README.md

@@ -1,56 +1,60 @@
 Not even an alpha product. Just a mere prototype(s).
 Not even an alpha product. Just a mere prototype(s).
 
 
-# darkfid usage
+# First time running the demo:
 
 
-Perform the trusted setup:
+1. Perform the trusted setup:
 
 
 ```console
 ```console
 $ cargo build --release
 $ cargo build --release
 ```
 ```
 
 
-Run gateway daemon:
+2. Set a wallet password. Note: you must set a password before using the wallet.
+
+Open .config/darkfi/darkfid.toml and add a password to the 'Password' section.
+
+3. Run the gateway daemon:
 
 
 ```console
 ```console
 $ cargo run --bin gatewayd -- -v
 $ cargo run --bin gatewayd -- -v
 ```
 ```
 
 
-Run darkfid:
+4. Run darkfid:
 
 
 ```console
 ```console
 $ cargo run --bin darkfid -- -v
 $ cargo run --bin darkfid -- -v
 ```
 ```
 
 
-Run drk:
+5. Initialize the wallet:
 
 
 ```console
 ```console
-$ cargo run --bin drk -- -v
+$ cargo run --bin drk -- --wallet
 ```
 ```
 
 
-# darkfid & drk configurations:
+# Every time running the demo:
 
 
-Set wallet password:
+Run gateway daemon:
 
 
 ```console
 ```console
-$ cargo run --bin darkfid config set --password [password]
+$ cargo run --bin gatewayd -- -v
 ```
 ```
 
 
-Show usage manual:
+Run darkfid:
 
 
 ```console
 ```console
-$ cargo run --bin darkfid -- config --help
+$ cargo run --bin darkfid -- -v
 ```
 ```
 
 
+Show drk usage manual:
+
 ```console
 ```console
-$ cargo run --bin drk -- config --help
+$ cargo run --bin drk -- -help
 ```
 ```
 
 
-# drk
+# darkfid & drk configurations:
 
 
-Show usage manual:
+Darkfid and drk can be configured using the TOML files in the .config/darkfid directory. Make sure to recompile darkfid and drk after customizing the TOML.
 
 
-```console
-$ cargo run --bin drk -- -help
-```
+# Go dark
 
 
 Let's liberate people from the claws of big tech and create the democratic paradigm of technology.
 Let's liberate people from the claws of big tech and create the democratic paradigm of technology.