Don
Create a powerful static website with nanoc
by Koen VervloesemForget Drupal, WordPress and Rails: nanoc compiles your documents into a static website
We’ve never really loved content management systems and blog platforms, because they force us to use mediocre tools: editing files in a crash-prone web browser, usually with some unusable WYSIWYG editor widget. And to deploy the website, we need to install PHP and MySQL on our web server, which can be hard to trust because of their dubious security track record. Why can’t this be done in a simpler way? Why can’t we just use a quality command- line editor like Vim to edit the webpages? And why does the result need to be a dynamic site if we only add pages to it daily and the rest of the content stays the same anyway?
Luckily, we’re not the only ones who think this way. Five years ago, Denis Defreyne created nanoc, a Ruby-based tool that runs on your own computer and compiles documents into a static website consisting of simple HTML files. You can then write these documents (in formats such as Markdown, Textile or HTML) in your own favorite editor, let nanoc compile them, and upload the result to your web server. As this web server just has to serve a bunch of static files, you don’t have to install PHP, MySQL, Ruby or Rails on it. So not only can you use a very lightweight virtual private server for your website, you have also less chance of being hacked into. Let’s take a look at how this works.
Resources
nanoc: http://nanoc.stoneship.org/
Step by Step
Step 01
Installation
Read More...http://www.linuxuser.co.uk/tutorials/create-a-powerful-static-website-with-nanoc
- Nanoc - Create a powerful static website with nanoc
- nanoc - Google Search
- nanoc: a Ruby site compiler that generates static HTML » home
- ddfreyne/nanoc · GitHub
- (99+) nanoc - Google Groups
- Take back your site, with nanoc! - H3RALD
- nanoc | RubyGems.org | your community gem host
- nanoc › Documentation
- nanoc › Installation
- nanoc › Introduction to nanoc
- nanoc › The nanoc Blog
- nanoc › Community
- nanoc › Basic Concepts
- Create a powerful static website with nanoc | Linux User
- Ruby Programming Language
- RubyGems.org | your community gem host
0 comments:
Post a Comment