Build & Deploy
It’s really easy to build and deploy an 11ty theme on your own hosting, just follow these simple steps!
-
Open a terminal window;
-
Move the current working directory to your unzipped theme, by using the command:
cd "Full path to the unzipped folder"
- Launch the command:
npm i && npm run build
-
Grab a coffee ☕ while your pc tries to fly out of the desk building your 10000k cms items;
-
Once the process is done, you will find a folder named public in your unzipped theme;
-
Upload the content of the public folder on your hosting with ftp access or wathever system your hosting provider gave you to upload files;