Skip to content

Commit

Permalink
Update example env
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Apr 2, 2024
1 parent 4a24b44 commit 78355b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
19 changes: 6 additions & 13 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SMF_CONFIG_NETWORK="rococo"
SMF_CONFIG_NETWORK="frequencyRococo"

SMF_CONFIG_PORT=5555
SMF_CONFIG_DEPLOYED_REF=local
Expand All @@ -9,26 +9,19 @@ SMF_CONFIG_DEPLOYED_REF=local
# 3. Click the "Help & About" tab (left side of the dialog).
# 4. Scroll to the bottom and click on <click to reveal> part of Access Token.
# Note: Keep the browser login active as the token will be invalidated once you logout
SMF_CONFIG_MATRIX_ACCESS_TOKEN="NotValidExampleToken"
# SMF_CONFIG_MATRIX_ACCESS_TOKEN="NotValidExampleToken"

# See https://github.com/paritytech/devops/wiki/Matrix%3A-Registering-a-Matrix-Bot for how to register a bot
# Note: The bot account needs to be created in SMF_BOT_MATRIX_SERVER
SMF_CONFIG_MATRIX_BOT_USER_ID="@NotValidExampleAccount:matrix.parity.io"
SMF_CONFIG_FAUCET_IGNORE_LIST=""
SMF_CONFIG_MATRIX_SERVER=https://m.parity.io
# SMF_CONFIG_MATRIX_BOT_USER_ID="@NotValidExampleAccount:matrix.parity.io"
# SMF_CONFIG_FAUCET_IGNORE_LIST=""
# SMF_CONFIG_MATRIX_SERVER=https://m.parity.io

# To get account mnemonic - create an account in https://polkadot.js.org/apps/#/accounts (save details in password manager)
# Prior creating, make sure to switch to according network (in case of westend - TEST WESTEND & PARACHAINS => Westend)
# To feed new account with test tokens, go to https://matrix.to/#/#westend_faucet:matrix.org and drip to new address
# some convenient for tests amount "!drip <address> <amount>"
SMF_CONFIG_FAUCET_ACCOUNT_MNEMONIC="this is a fake mnemonic"
SMF_CONFIG_FAUCET_ACCOUNT_MNEMONIC="//Alice"

# Only used with external access
SMF_CONFIG_RECAPTCHA_SECRET="6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe" # Public testing secret, will accept all tokens.

# Database
SMF_CONFIG_DB_HOST=localhost
SMF_CONFIG_DB_PORT=5432
SMF_CONFIG_DB_USERNAME=postgres
SMF_CONFIG_DB_PASSWORD=postgres
SMF_CONFIG_DB_DATABASE_NAME=faucet
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ yarn simple-git-hooks
```

#### start local database:
```bash
yarn dev:db
```

Uses sqlite file, no start needed.

#### run migrations:
```bash
Expand Down

0 comments on commit 78355b5

Please sign in to comment.