Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.13 KB

README.md

File metadata and controls

34 lines (28 loc) · 1.13 KB

Venture

Important before production

  • remember to change URI in google api for nextauth
  • remember to change Authorizes redirect URI before production
  • remember to change in the .env file as well

Set up Stripe webhook

  1. Install stripe CLI (https://stripe.com/docs/stripe-cli)
  2. login with api key
  3. stripe listen --forward-to http://localhost:3000/api/webhooks

Docker deployment

Note that not secrets must be inside .env-docker

cd deployment
docker build . # build Dockerfile
docker-compose --env-file dockerenv up -d # -d optional for detached mode
curl -H "Host: letsventure.ml" letsventure.ml # To test app

Stripe Listener

cd deployment cd stripe docker compose --env-file dockerenv up

Vennture-app seployment

cd deployment cd venture docker compose --env-file dockerenv up --build -d