Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 706 Bytes

README.md

File metadata and controls

55 lines (42 loc) · 706 Bytes

Soonsocial Faucet for Discord

Using:

  1. Join to Subsocial Devs chat

  2. Write message:

!drip <your-address>
  1. Open Subsocial Docs and develop your awesome daps!

Development

Clone repo:

git clone 

Install dependencies:

yarn

Set ENV:

cp example.env .env

Edit .env file:

NODE_ENV=production

BOT_TOKEN=<set Discord bot token>
MNEMONIC=<set your mnemonic>
WS=<set your node url aka ws://localhost:9944>

Run dev server

yarn dev

Start bot in another terminal:

yarn start

Deploy

Compile project:

yarn prod

Deploy as Node.js server