Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: dockerize app #33

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,22 @@

`.env` file should look like:

```
```shell
BLOCK_IO_API_KEY=XXXXXXXXX
BLOCK_IO_SECRET_PIN=XXXXXXX
SLACK_TOKEN=xoxb-.....
BOT_USER_ID=-----
GENERAL_CHANNEL_ID=YOUR_GENERAL_CHANNEL
```

`dev.env` should look like this:

```shell
NGROK_ACCOUNT=YOURNAME-bitwaladev
smauermann marked this conversation as resolved.
Show resolved Hide resolved
HOST=doge-cool
PORT=3000
```

### In public / private channels

- `tip <username> <amount>` - gives amount to specified user
Expand All @@ -23,3 +31,12 @@ GENERAL_CHANNEL_ID=YOUR_GENERAL_CHANNEL
- `deposit` - return address
- `balance` - shows balance
- `withdraw <adress> <amount?>` - withdraws to address

## Docker

- develop app in container:
`yarn dev:docker`
- build image:
`yarn build:docker`
- run app in container:
`yarn start:docker`