Deploys an HTML site with an AJAX callout to a serverless API.
The site is built with Jekyll and deploys to the Nimbella serverless cloud. This project also demonstrates how to use Netlify as a proxy to your Nimbella domain to use a custom domain name with SSL.
- Install Jekyll.
- Install Nimbella CLI.
A Nimbella account is required to use the Nimbella CLI. You can create a free account if necessary.
Configure your CLI using nim login
or see the available documentation.
-
Edit config.template to configure for your deployment. Namely, set the domain name which is used to configure the canonical header in the site HTML.
-
Run
nim project deploy .
This project is also configured to deploy with Netlify using the Nimbella plugin for Netlify.
Connect your GitHub repo to Netlify to build and deploy your site on new Git commit.
You will need to edit the redirects
section in netlify.toml
to specify your Nimbella domain name for your project.