Skip to content

Instantly share code, notes, and snippets.

@oss6
Created July 4, 2015 20:25
Show Gist options
  • Save oss6/9d0bf501c2c091862743 to your computer and use it in GitHub Desktop.
Save oss6/9d0bf501c2c091862743 to your computer and use it in GitHub Desktop.
$ mkdir awesome_website
$ cd awesome_website
$ statico
==== CREATE SITE ====
✓ settings.json
✓ atom.xml
✓ Static assets
✓ Templates
✓ Contents directory
✓ Output directory
$ nano settings.json # Change settings (i.e. title, subtitle, sidebar, github & twitter support etc...)
$ statico --article "My first article"
SUCCESS
$ nano content/articles/2015-06-15-my-first-article.md
$ statico --generate
==== GENERATE SITE ====
✓ Parsing articles and pages
✓ Parsing index page
✓ Parsing atom.xml
✓ Generating static directory
Head to "output" to view your generated site.
Now you are ready to upload your site.
Type statico --preview to get a preview of your site.
$ statico --preview
Serving at http://127.0.0.1:8000 ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment