This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Developing a site with StaticMatic
Setting up a site
The first thing to do with a StaticMatic site is to set up the folders and files ready for use. A simple command will create everything you need to get started:
staticmatic setup my_siteThis will set up a number of directories:
- site/ – contains your static site and any assets such as images or javascript files
- src/ – where you’ll work on your templates
- helpers/ – contains any helpers you want to use in your website
- layouts/ – contains templates that ‘wrap’ your main content pages
- pages/ – contains the actual pages of content
- partials/ – contains any "partial pages" that can be reused in other pages or layouts
- stylesheets/ – contains any Sass stylesheets you want to create
Previewing your site
When you’re ready to start working on your site, you can fire up the preview server to see your changes:
staticmatic preview my_siteThis will start a web server on port 3000. Point your web browser to http://localhost:3000 to see your site.
Building your site
When you’re happy with the website, you can tell StaticMatic to generate the HTML pages:
staticmatic build my_site





