blog.negative9.net/readme.md

33 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2018-03-11 11:15:42 +00:00
# BLOG.NEGATIVE9.NET
2018-11-02 21:36:45 +00:00
When I write, I use markdown, so setting up a simple blog using [wintersmith](http://wintersmith.io/) was a no-brainer.
[Learn More About WinterSmith Here](http://wintersmith.io/)
## Quick-start
First install wintersmith using `npm`:
$ npm install wintersmith -g
This will install wintersmith globally on your system so that you can access the `wintersmith` command from anywhere. Once that is complete run:
$ wintersmith new <path>
Where `<path>` is the location you want the site to be generated. This creates a skeleton site with a basic set of templates and some articles, while not strictly needed it's a good starting point.
Now enter the directory and start the preview server:
$ cd <path>
$ wintersmith preview
At this point you are ready to start customizing your site. Point your browser to `http://localhost:8080` and start editing templates and articles.
When done run:
$ wintersmith build
This generates your site and places it in the `build/` directory - all ready to be copied to your web server!
And remember to give the old `--help` a look :-)