This is a template repo for sites created using Typerefinery app and hosted on GitHub Pages.
You can use this template to create a new GitHub repo that will contain your site content. This template contains the necessary configuration to get you started quickly.
You can use CMS in the Typerefinery app to create and edit content for your site. When you are ready, you can publish and deploy your site to GitHub pages. You can use CMS to edit and publish your changes when you need to update site content. The Typerefinery app will push your changes to GitHub, and GitHub Actions pipeline will deploy these to GitHub pages.
Having CMS running on your local PC will ensure that you have all the control and tools needed to create whatever you desire.
Typerefinery CMS uses the latest Bootstrap to give you a great starting point for your site. You can use the built-in Bootstrap components to create your site. You can also use the built-in Bootstrap components to create your own components and extend the CMS functionality.
NOTE: TypeRefinery is in early development and is not yet ready for production use. Currently, it's only installable on Windows.
Mac and Linux support is coming soon, please leave a comment on Mac and Linux tickets to hurry us along.
Follow this guide to create a new GitHub page site from this template. Install and configure Typerefinery application to use it's built-in CMS to create and deploy your site to GitHub pages.
- Click the
Use this template
button on the github page. - Set the repository name and description.
- Click the
Create repository from template
button. - Click the
Code
button and copy the HTTPS repository Url and save it.
- Click the
Settings
button. - Click the
Pages
tab. - Select
Deploy from a branch
branch inSource
dropdown. - Select
main
branch inBranch
dropdown and pressSave
button.
- Click the
Gears
button in the About section. - Tick the
Use your GitHub Pages website
checkbox and clickSave changes
button. Link to your new site will appear in the About section.
- Go to the New personal access token (classic) page.
- Set the token
Note
. - Select
No expiration
inExpiration
field. - In
Select scopes
tickpublic_repo
in therepo
section. - Click the
Generate token
button. - Copy the generated token and save it.
- Go to the Typerefinery Latest Release page. In the Assets section, download the installer for your platform.
- Install the app.
- Run the app.
- Wait for the app to finish setting up your services.
- Click
Ready to Roll
button when all services have loaded.
- On experiences tabs, top most tabs in the app, click CMS experience.
- Login with the default credentials:
admin
andadmin
. - Click the
Create space
button and choosePages
. - Set the space
Title
, lowercaseName
, and selectTyperefinery pages
inTemplate
. - Click on the newly created space.
- Click
Create page
button. - On
Template selection
chooseSpace Config
template. - On
Page properties
onGeneral
tab:- set the page
Title
toSpace Config
, and - set
Name
to lowercase_admin
.
- set the page
- On
Page properties
onDeploy
tab:- select
Github
inDeploy Target
, and - in
Additional Paths to Publish
add a new Path entry with/apps/typerefinery/clientlibs
.
- select
- On
Page properties
onGithub
tab:- paste your repository Url into
Repository URL
field in formathttps://github.com/user/repo.git
. - paste your personal access token into
Personal Access Token
field. - set the
Branch
field tomain
. - set User and Email field to your desired user and email identifiers that will be used to push content to this repo.
- paste your repository Url into
- Click
Create page
button. - On
Template selection
choosePage
template. - On
Page properties
onGeneral
tab:- set field
Title
toHome
, and - set field
Name
to lowercaseindex
.
- set field
- Click
Create
button.
- On experiences tabs, top most tabs in the app, click CMS experience.
- On your new space click on the
...
button and selectPublish space
. - On
Publish space
dialog selectAll
inPublish Options
, click onDeploy after Publish
toggle, and clickPublish
button. - Wait for the space to be published and deployed.
- Check GitHub repository
main
branch for the new files.
If you get errors publishing your site, please check the following before seeking support.
- You did not create
_admin
page in the root of your space. - You did not provide all the config values on GitHub tab in page properties of
_admin
page. - You don't have an account on Github
- You didn't do the email verification to complete your account on Github
- Your username does not have push rights to that repository (e.g. your username is not listed as a contributor)
- You used the wrong username by accident (substituting with one that does not have push rights on that repository)
- You entered the password wrong
- You pushed using the wrong protocol (e.g. you used SSH or HTTPS, when only the other protocol was acceptable)
- You provided the correct authentication but the email address you sent with it did not match what the server was expecting
- You did not publish the space after creating the content.
- You did not deploy the space after publishing the content.
- You did not provide all the config values on GitHub tab in page properties of
_admin
page. - You did not add
/apps/typerefinery/clientlibs
inAdditional Paths to Publish
in page properties of_admin
page on the Deploy tab.
Ensure that you are logged in to your GitHub account. If you still don't see the button, make sure you have the necessary permissions to create repositories from templates.
Double-check your internet connection and try again. If the error persists, ensure that you have not reached any limits on your GitHub account, such as repository creation limits.
The "Settings" button is usually located at the top-right section of your repository page, near the "Code" button. If you don't see it, ensure that you have sufficient permissions to access repository settings.
I selected the "Deploy from a branch" option, but I don't see the desired branch in the "Branch" dropdown. What should I do?
Ensure that you have pushed the desired branch to your repository. If the branch is missing, try refreshing the page or check if you have permission to access that specific branch.
I updated the repository details, but I don't see the link to my new site in the About section. What could be wrong?
Double-check that you correctly enabled the "Use your GitHub Pages website" checkbox in the repository settings. If it still doesn't appear, make sure you saved the changes properly and refresh the page.
Check your GitHub account settings to ensure that you have the necessary permissions to generate personal access tokens. If the problem persists, contact GitHub support for further assistance.
For now, Typerefinery only supports Windows. Please leave a comment on Mac and Linux tickets to hurry us along. Double-check that you downloaded the correct installer for your platform.
Verify that the Typerefinery app is running and fully set up and that all services in the app are running. Ensure that you entered the correct URL in your browser. Restart the app and try accessing CMS using your browser on [http://localhost:8113] after the app has loaded all of the services.
Double-check that you are using the correct username and password.
Check your internet connection stability. Ensure that you provided the correct repository URL and personal access token in the Space Config settings. Verify that your GitHub account has the necessary permissions for repository deployment. Review any error messages received during the publishing and deployment process.
If you are still stuck, make a video of what you are trying to do, get a zip of your logs, and leave them in a comment on Bugs installing the app issue.