Sha256: e7447612f59a25d0cf038bf0825b01403fafd60f7a0552fd3fc350f1f9a58f7f

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

A static website CMS

StaticCMS is website builder that creates html files from an eruby template.  
This facilitates the management of the skin/theme from a single file.

Installing:

gem install scms

Creating a website:

scms -a create -w /path/to/folder

Building your website

scms - build -w /path/to/folder

Publishing your website

scms -a deploy -w /path/to/folder

Editing a Static-CMS website

open /path/to/folder

Step 1:
Edit the config.yml to your website structute

Step 2:
Run the build script this will generate the html files from the views.
The build atrifacts will be found in the pub directory.
Please note you need to pass the website folder as a parameter to the build script

Step 3:
To publish you will need to run the deploy script.
Please note you first need to enter your S3 credentials in the s3config.yml config file (including the bucket name)
You will also need copy your s3 certs to www/s3certs


Information on the directory structure 

'/templates'
Here you will find the template(s) tht's used for the web skin/theme

'/views'
This containd the views that contain the content/html to be inhected into the mater theme

'/public'
Place the other static website assets here. 

Further reading for the template language
http://www.stuartellis.eu/articles/erb/

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
scms-1.7.9 README.md