Skip to content

Commit

Permalink
Fix fly.io docs to actually work
Browse files Browse the repository at this point in the history
  • Loading branch information
w3irdrobot committed Jul 12, 2022
1 parent bc47589 commit 8c7c4e1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 23 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fly.toml
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,22 @@ There are a few provided deployment methods to make setting up easy. Each method
Deploying to [fly.io](https://fly.io/) can be easily done using the [`flyctl`](https://fly.io/docs/flyctl/installing/) CLI.

```shell
# view regions here: https://fly.io/docs/reference/regions/
flyctl launch \
--generate-name \
--image w3irdrobot/voltageautounlock:1.0.0 \
--region ord \
--no-deploy

flyctl secrets set \
VOLTAGE_NODE_API=<insert Node API URL> \
VOLTAGE_WEBHOOK_SECRET=<insert webhook secret> \
VOLTAGE_WALLET_PASSWORD=<insert wallet password>
flyctl launch

flyctl deploy

# input this hostname into voltage
echo "https://$(flyctl info --host)"
```

### Docker
Expand Down
22 changes: 0 additions & 22 deletions fly.toml

This file was deleted.

0 comments on commit 8c7c4e1

Please sign in to comment.