Skip to content

Commit 964fdeb

Browse files
committed
added env-sample
1 parent 25a58af commit 964fdeb

File tree

2 files changed

+11
-17
lines changed

2 files changed

+11
-17
lines changed

.env-sample

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
NEM_PRIVATE_KEY=Server privatekey
2+
NEM_ADDRESS=server address

README.md

+9-17
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,20 @@ Tx example: [Invoice for the game (encrypted)](http://bob.nem.ninja:8765/#/trans
2424

2525
1. `git clone https://github.com/AnthonyLaw/nem-steam-store`.
2626
2. `cd nem-steam-store`.
27-
3. create `.env` file in root.
28-
```
29-
REACT_APP_PRIVATE_KEY= address private key
30-
REACT_APP_ADDRESS= your address
31-
REACT_APP_STEAMSTORE_ADDRESS= store address from server
32-
REACT_APP_STEAMSTORE_PK= store public key from server
33-
```
34-
4. `npm install`
35-
5. `npm start`
36-
6. Open [http://localhost:3000](http://localhost:3000/) to view it in the browser.
27+
3. `cp .env-sample .env`
28+
4. Configure all required variables in .env
29+
5. `npm install`
30+
6. `npm start`
31+
7. Open [http://localhost:3000](http://localhost:3000/) to view it in the browser.
3732

3833
## Setup NEM-Steam-Store-Server (nodejs)
3934

4035
1. `git clone https://github.com/AnthonyLaw/nem-steam-store-server`.
4136
2. `cd nem-steam-store-server`.
42-
3. create `.env` file in root.
43-
```
44-
NEM_PRIVATE_KEY= store private key
45-
NEM_ADDRESS= store address
46-
```
47-
4. `npm install`
48-
5. `npm start`
37+
3. `cp .env-sample .env`
38+
4. Configure all required variables in .env
39+
5. `npm install`
40+
6. `npm start`
4941

5042
## Summary
5143

0 commit comments

Comments
 (0)