CMS Development

Angeli
Member

setting up boilerplate template

I'm doing this code... npx @hubspot/create-cms-project test-theme but it just create an empty folder.

 

then I found another syntax the hs create my-website but it don't have the src folder in the directory. 

0 Upvotes
1 Reply 1
claudchan-alyka
Participant | Diamond Partner
Participant | Diamond Partner

setting up boilerplate template

Hi @Angeli 

Before getting started, you will need to have Node.js installed and the HubSpot CMS CLI installed.
If you have done that, in the command line to create project with boilerplate template is 
"hs create website-theme <directory>" (without quotes).
In your case to create "my-website" will be "hs create website-theme my-website" (without quotes).

 

You may find the instruction from here: cms-theme-boilerplate 

0 Upvotes