Get SaaS Pulse customer subscriptions: Billing::Subscription
DigestMailer.digest.deliver_now
Update config/application.yml: BASE_URL: https://YOUR-SUBDOMAIN.ngrok.io
Update Webhook secret in application.yml, get it from webhook page in stripe
Update ngrok url:
- config/application.yml:
- https://dashboard.stripe.com/test/settings/connect
- https://dashboard.stripe.com/test/webhooks
-
You must have the following dependencies installed:
- Ruby 3
- See
.ruby-version
for the specific version.
- See
- Node 19
- See
.nvmrc
for the specific version.
- See
- PostgreSQL 14
- Redis 6.2
- Chrome (for headless browser tests)
If you don't have these installed, you can use rails.new to help with the process.
- Ruby 3
-
Run the
bin/setup
script. -
Start the application with
bin/dev
. -
Visit http://localhost:3000.
If this is your first time working on a Bullet Train application, be sure to review the Bullet Train Basic Techniques and the Bullet Train Developer Documentation.
Clicking this button will take you to the first step of a process that, when completed, will provision production-grade infrastructure for your Bullet Train application which will cost about $30/month.
When you're done deploying to Render, you need to go into "Dashboard" > "web", copy the server URL, and then go into "Env Groups" > "settings" and paste the URL into the value for BASE_URL
.