HubSpot CMS Boilerplate
Last updated
Last updated
A straight-forward starting point for building a great website on the HubSpot CMS.
| |
The is designed to offer developers a head start in the website building process. While the HubSpot CMS Boilerplate represents HubSpot's opinionated best practices, we intend to learn from similar projects and feedback. We hope it offers inspiration and utility for all website projects!
Before getting started, you will need to have installed, the installed, and we strongly suggest that you set up a for your QA/testing environment.
Navigate to the directory that you want to use for your project
Run hs create website-theme <directory>
to create a project from the HubSpot CMS Boilerplate
the local development tools for the portal(s) you'd like to use for your project.
Run hs watch --portal=<portal> src <directory> --initial-upload
to upload all the files in the project and to files in the src
directory
Please reference our and our articles for more information.
Update the name of the directory that you'll be deploying to in your Design Manager in the .github/workflows/deploy.yml
file (the current default dest_dir
is cms-theme-boilerplate
)
Deploy changes to your Design Manager by pushing to the main
branch of your forked repository
the HubSpot CMS Boilerplate repository and your forked repository to your computer
for HUBSPOT_PORTAL_ID
and HUBSPOT_PERSONAL_ACCESS_KEY
Please reference our and for more information.
For details about the HubSpot CMS Boilerplate's recommended best practices and code formatting, please reference our .
If you’re interested in contributing to the HubSpot CMS Boilerplate, please read and to see how you can report an issue, make a feature request, or make a pull request.
Previous releases and their documentation are available for . To provide transparency into future releases, we create a project board that documents our planning in preparation for each .
You can stay up to date with HubSpot CMS Boilerplate updates and discussions in the #hs-cms-boilerplate channel in the .
The code is available under the