mirror of https://github.com/dap-ps/discover.git
Don't point at dev version of Discover by default
This commit is contained in:
parent
7a6886fcfc
commit
ce35cc6e3a
|
@ -55,7 +55,10 @@ On Linux, setting up `mongodb` is as easy as `sudo apt install -y mongodb`, whic
|
|||
3. Build the frontend, create a directory called `full-build`, move each directory from the `back-end` into it, and include the `frontend` as a directory of its own. It will make sure `node_modules` are installed, then you can serve everything in `full-build` by running:
|
||||
3. `yarn server-start`. Navigate to `http://localhost:4000` to get developing cool new things for the future of curated information.
|
||||
|
||||
**Note:** You'll need to visit [simpledapp.eth using Status](https://status.im/get/) -> Assets Tab -> Request `STT`. This is the Status Test Token on Ropsten that needs to be used with your instance of Discover in order to submit/upvote/downvote in your local app. Using a proper test network even for local development allows us to better understand what the user experience is actually like in production more easily.
|
||||
**Note:**
|
||||
|
||||
1. Change this line in [back-end/config/index.js](https://github.com/dap-ps/discover/blob/master/back-end/config/index.js#L24) your your local Ropsten version of the contract, stored in `shared.development.chains.json`.
|
||||
2. You'll need to visit [simpledapp.eth using Status](https://status.im/get/) -> Assets Tab -> Request `STT`. This is the Status Test Token on Ropsten that needs to be used with your instance of Discover in order to submit/upvote/downvote in your local app. Using a proper test network even for local development allows us to better understand what the user experience is actually like in production more easily.
|
||||
|
||||
#### Work to be done
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ const config = {
|
|||
IPFS_PORT : env.IPFS_PORT || "5001",
|
||||
IPFS_PROTOCOL : env.IPFS_PROTOCOL || "https",
|
||||
/* Blockchain */
|
||||
DISCOVER_CONTRACT : env.DISCOVER_CONTRACT || "0xC8d48B421eAFdD75d5144E8f06882Cb5F0746Bd2",
|
||||
DISCOVER_CONTRACT : env.DISCOVER_CONTRACT || "0x02d990A1C66e4Cf00bCdD98a0196149F7DdA2065",
|
||||
BLOCKCHAIN_CONNECTION_POINT : env.BLOCKCHAIN_CONNECTION_POINT || "wss://ropsten.infura.io/ws/v3/8675214b97b44e96b70d05326c61fd6a",
|
||||
/* EMail */
|
||||
EMAIL_USER : env.EMAIL_USER || null,
|
||||
|
|
Loading…
Reference in New Issue