This site is using the Mangila theme link and Sveltia-cms Link for admin.
The site is being hosted on Netlify and source code is on Sillpoint Software's github
Since the project is attached to netlify, deployment happens automatically when you push to Github. There is no setup to do in GitHub. Netlify handles this as soon as you attach a GitHub repository.
- Install Ruby 3.0.0 link
- Install Ruby Gems link
- Open the project in VS Code
- From the terminal, install Jekyll
gem install jekyll
- From the terminal, run
bundle install
- To run the site locally, run
bundle exec jekyll serve
- Add an
admin
folder - See sveltia-cms for the config.yml and index.html files and how to set them up [link] (https://github.com/sveltia/sveltia-cms?tab=readme-ov-file#getting-started)
- to run the admin, start the server and add
/admin
to the end of the url. You can run the admin locally without any additional setup.
- Add the source code to a github repository.
- In the Settings of the
Github
organization, go toOauth
- Click on
New OAuth app
- Enter an appplication name, homepage url and application description
- Under Authorization callback URL enter
https://api.netlify.com/auth/done
(This is specific to Netlify) - Copy the ClientID and Secret, you will need this for netlify
- Under third-party access, click on
GitHub Apps
- Click on
Configure
next to "Netlify" - Netlify needs Read access to code and metadata and Read and write access to checks, etc
- Scroll down to
Repository access
- Select the repository you want to give Netlify access to
- Login to Netlify
- Click on "New site from Git"
- Select
GitHub
under connect to Git provider - Pick a respository
- Enter an
Environment Variable
as follows: RUGY_VERSION 3.0.0 - Click on Forms
Forms
- Click on
Enable form detection
- Under
Site configuration
, click on OAuth- click on
Install provider
- Enter the Github Client Id and Secret
- Under
Notifications
, click on Emails and webhooks - Under
Form submission notificiations
, add an email address that will received all the contact information when submitted.
- click on
Before using the Mangila theme, please read the documentation under the documentation folder.
See the styleguide.md under the _pages folder