Skip to content

Commit

Permalink
Document update ngrok (#43)
Browse files Browse the repository at this point in the history
Adds a "how to" section on README on what you need to do if you restart
or somehow get a new url from Ngrok.
fixes #35

---------

Co-authored-by: Pär Berge <[email protected]>
  • Loading branch information
marresgit and parberge authored Sep 27, 2023
1 parent 39b28d5 commit 85074b0
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,22 @@ npx prisma db push
yarn dev
```

## Run the local cron worker

### Ngrok

When you get a new **ngrok** url, you will need to replace the old url in your Github app and .env file. Here are the steps:

Edit your github [app](https://github.com/settings/apps)

Replace your new ngrok **url** with old on *(remember to leave the subdirectories on both)*:
* Callback URL
* Webhook URL

On the .env file:

Replace the value of **NEXTAUTH_URL** variable with your new url

### Run the local cron worker

There is a way to run a local cron worker that will trigger all scheduled runs when developing locally

Expand Down

0 comments on commit 85074b0

Please sign in to comment.