Low-Code Setup
Step 1: Create a GitHub Account
Section titled “Step 1: Create a GitHub Account”GitHub will act as the “digital filing cabinet” for your website’s content.
- Sign up for a free account at github.com.
- Pro Tip: Use a church-specific email (e.g.
admin@your.church) rather than a personal email. Create a church-specific admin account on GitHub (e.g.sojourners-admin). This makes it much easier to hand off the site to future volunteers.
Step 2: Clone the Website Template
Section titled “Step 2: Clone the Website Template”Now, you’ll create your own copy of the website “engine.”
-
Go to the astro-church template page.
-
Click the green Use this template button and select Create a new repository
-
Repository Name: Enter your church name (e.g.,
sojourners-church). -
Click Create repository.
Step 3: Create a Netlify Account
Section titled “Step 3: Create a Netlify Account”Netlify is the service that takes your files from GitHub and turns them into a live website.
-
Sign up for a free account at netlify.com.
-
Select Sign up with GitHub. This automatically connects your storage (GitHub) to your host (Netlify).
-
Authorize Netlify if prompted.
Step 4: Deploy project on Netlify
Section titled “Step 4: Deploy project on Netlify”This step makes your website live to the public.
-
In the Netlify dashboard, click Add new project > Import existing project
-
Under Let’s deploy your project with… select GitHub and authorize the connection.
-
Select your repository (e.g.,
sojourners-church) -
Give your project a name. Your temporary website url will be
https://project-name.netlify.app/. -
Leave the rest of the settings at default for now and click Deploy [project-name].
Step 5: Automatic Daily Updates
Section titled “Step 5: Automatic Daily Updates”To avoid hitting the Netlify free tier limits, we will set your site to refresh once a day rather than every time a change is made.
Part A: Generate a “Build Hook” on Netlify
Section titled “Part A: Generate a “Build Hook” on Netlify”-
Open your Project: In Netlify, go to Projects and select the one you deployed in Step 4.
-
Open Settings: Navigate to Project configuration > Build & Deploy.
-
Create the Hook: Scroll to the Build hooks section and click Add build hook
-
Configure & Copy:
- Name: Enter
Daily - Save: Click save and copy the generated URL. You will need this for the next part.
- Name: Enter
Part B: Add the Build Hook as a “secret” to GitHub
Section titled “Part B: Add the Build Hook as a “secret” to GitHub”-
Open Repository: Go to your project repository on GitHub.
-
Navigate to Secrets: Click the Settings tab. In the left sidebar, under the Security section, expand Secrets and variables and select Actions.
-
Create New Secret: Click the New repository secret button.
-
Enter Credentials:
- Name:
NETLIFY_BUILD_HOOK - Secret: Paste the URL copied from Netlify.
- Name:
-
Finalize: Click Add secret.
Step 6: Launch the Content Manager
Section titled “Step 6: Launch the Content Manager”You don’t need to visit GitHub or Netlify to update your site. You’ll use a custom version of PagesCMS as the content manager (CMS).
-
Open the Astro-Church CMS
-
Click Sign in with GitHub and authorize access.
-
Under Open a project, select your repository.
-
Click Site Config to configure your site options. Refer to Site Configuration for more details on what each setting does.