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

Document update ngrok #43

Merged
merged 10 commits into from
Sep 27, 2023
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,21 @@ npx prisma db push
# Start the local service
yarn dev
```

### 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 stepps:
marresgit marked this conversation as resolved.
Show resolved Hide resolved

**Click on:**
* Profile picture
* Settings
* Developer settings
marresgit marked this conversation as resolved.
Show resolved Hide resolved
* Edit (on your app) -> Authenticate

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

On the .env file:

Add your new url to **NEXTAUTH_URL** variable
2 changes: 1 addition & 1 deletion ci-verify.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SUCCESS=0

for try in {1..3}; do
status_code=$(curl --write-out %{http_code} --silent --output /dev/null http://localhost:3000)
status_code=$(curl -v --write-out %{http_code} --silent --output http://localhost:3000)
if [[ "$status_code" -eq 200 ]] ; then
SUCCESS=1
break
Expand Down
Loading