File tree 3 files changed +35
-4
lines changed
3 files changed +35
-4
lines changed Original file line number Diff line number Diff line change 1
1
INFURA_API_KEY =
2
- WALLETCONNECT_PROJECT_ID =
3
- WEB3_NAME_SERVICE_URL =
2
+ WEB3_NAME_SERVICE_URL = https://name.web3.storage/name
4
3
INFURA_IPFS_ENDPOINT =
5
4
INFURA_IPFS_GATEWAY =
6
5
INFURA_IPFS_KEY =
7
6
INFURA_IPFS_SECRET =
8
- HOST =
7
+
9
8
10
9
DB_HASH =
11
10
DB_KEY =
Original file line number Diff line number Diff line change @@ -62,7 +62,39 @@ cd polis
62
62
npm install
63
63
```
64
64
65
- 3 . Grab your Infura API key
65
+ 3 . You will need to create a new ` .env ` file following` .env.example ` file. Your ` .env ` file should look like this:
66
+
67
+ ```
68
+ INFURA_API_KEY=
69
+ WEB3_NAME_SERVICE_URL=https://name.web3.storage/name
70
+ INFURA_IPFS_ENDPOINT=
71
+ INFURA_IPFS_GATEWAY=
72
+ INFURA_IPFS_KEY=
73
+ INFURA_IPFS_SECRET=
74
+
75
+
76
+ DB_HASH=
77
+ DB_KEY=
78
+ ```
79
+
80
+ You need to:
81
+
82
+ - Grab your Infura API key and add it to the ` .env ` file
83
+ - You will need to head over to infura ipfs to get the rest.
84
+
85
+ ![ infuraipfs] ( ./public/infuraipfs.png )
86
+
87
+ - If you want to deploy your own database then you will need to run ` npm run init-db ` . It will give you ` DB_HASH ` and ` DB_KEY ` .
88
+
89
+ 4 . Run the development server.
90
+
91
+ ```
92
+ npm run dev
93
+ ```
94
+
95
+ Open http://localhost:3000 with your browser to see the result.
96
+
97
+ ---
66
98
67
99
## Architecture
68
100
You can’t perform that action at this time.
0 commit comments