33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
|
|
# BLOG.NEGATIVE9.NET
|
|
|
|
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 :-) |