This is a starter repository to help in implementing the Open SDG platform. See here for documentation on Open SDG.
This starter repo is called "simple" because it combines the data and site into one repository. This is in contrast to the open-sdg-site-starter and open-sdg-data-starter repos, which together make an alternative approach that splits the site and data into separate repositories.
Make your own copy of this repository, by pressing "Use this template" or going here and filling out the form. Make sure that you check the "Include all branches" box! Other settings can be left alone.
For "Repository name" you can enter "open-sdg-simple-starter" or whatever you would like. It is recommended to choose something unique and descriptive, such as "sdg-indicators-abc" (where "abc" is unique to your implementation). However note that if you do not use "open-sdg-simple-starter", you will need to perform an extra step at the end. Don't worry, this is not difficult and is covered in step 4 below.
When ready, press "Create repository from template".
You will now be looking at your new repository. Some automated processes will already be started. To see them, click the "Actions" link. Wait until the "Initial commit" action stops spinning and changes from yellow to green.
Click the "Settings" link and scroll down to the "Github Pages" section. You should see a green success notice that says "Your site is published". Press the link to view your site.
If (in step 1) you named your repository anything other than "open-sdg-simple-starter", your site will appear jumbled and will have broken links. To fix this, you will need to update your site's "baseurl" setting.
Each time you update your site there will be 3 steps:
This repository is capable of automatically testing all pull requests, to ensure that nothing will be broken. You can enforce this by requiring that all tests pass before a pull request is merged.
To enable this, start by making any change using the 3-step workflow above. Try a simple README change:
Next, go back to your "Settings" page.
To try out Open SDG using this starter on your local computer, use:
make install
make serve