How to deploy LogChimp on Render?
A full guide for running LogChimp on Render with a click of a button.
TOC
- v0.6
v0.6
Clicking on "Deploy to Render" button will redirect you to confirmation page.
Tip
Please review the changes before deploying the following services.
Click "apply" button, 🎉 Voilà !
Configuration
logchimp-api
Now, the deployed services needs to be connected together.
On your machine, you need to use logchimp-cli tool to generate configuration.
In your Render dashboard, open logchimp-api, go to Environment tab, scroll to Secret Files section.
Click "Add Secret File", at filename enter logchimp.config.json
, paste the logchimp configuration in Contents.
Click "Save", scroll to top.
Copy the deployment url, for example https://logchimp-api.onrender.com
.
logchimp-client
You're doing great 💪, just one more step.
Open logchimp-client, go to Redriects/Rewrites tab.
Click "Add rule", enter /api/*
as source, and paste your logchimp-api URL as destination https://logchimp-api.onrender.com/api*
.
Warning
Make sure /api/* source is at top
Click "Save Changes".