タグ

nanocに関するskyriserのブックマーク (5)

  • nanocをHerokuで使ってみる - SKKTM Lab Blog

    久しぶりの記事を書いてみる。 nanocというRubyで書かれたCMSを見つけたので使ってみた。静的Webサイトを生成するシステムで、Nestaと同じようにDBを使わないのでお手軽サイトには良さそうである。ドキュメントも結構整備されているので、自分で手を入れるのもある程度できそうな感じだ。これで静的なWebサイトを生成し、Herokuで公開できるかを実験してみた。結果、上手く行ったのでその過程を記録しておく。 ちなみに、nanocのサイトを見ると、類似のシステムは結構あるみたいなので、後で調べてみよう。 まず、インストール。 > gem install nanoc > gem install kramdown > gem install adsf 家サイトにあるチュートリアルにしたがって使ってみる。 > nanoc create_site tutorial > cd tutorial >

  • 思考の軌跡 » nanocのautocompileが遅いのでguard-nanocを使ってみる

    このブログで使っている nanoc にはautocompileというコマンドがあるのですが、どうにも遅いので guard-nanoc を使ってみることにしました。 経緯 nanocはYAMLなどのデータとテンプレートを組み合わせてHTMLを生成するツールで、このブログもnanocを使って構築しています。 nanocには ページの生成を行うcompile ローカルでウェブサーバを立ち上げるview ウェブサーバを立ち上げつつ、リクエストされたページを再生成するautocompile といったコマンドがあります。 autocompileを実行しておけば「HTMLテンプレートを修正してブラウザをリロードすれば表示確認ができる」ので便利なのですが、このサイトではページの依存関係が複雑なせいか、再生成にだいぶ時間がかかるようになってしまいました。かといって「ウェブサーバはviewで起動しておいて、テ

    skyriser
    skyriser 2013/01/09
    お。ナイス。
  • GitHub --- Alexander Shvets's Web Page

    require 'coffee-script' class CoffeeFilter < Nanoc3::Filter identifier :coffee def run(content, params = {}) CoffeeScript.compile(content) end end

    skyriser
    skyriser 2012/12/15
    nanocでCoffeeScript。
  • transitive.info - nanoc チュートリアル翻訳

    nanoc チュートリアル翻訳 以下の文書は http://nanoc.stoneship.org/help/tutorial/ を翻訳したものです (読みやすさを優先して、ぎこちない日語になる場合は意訳しています)。 2008/04/05 時点の内容なので古くなっていますので、注意してください。 原文は、Denis Defreyne さんによるものであり、 クリエイティブコモンズ 表示-継承 2.0 で公開されています。 この翻訳文書も同様のライセンス、 「クリエイティブコモンズ 表示-継承 2.0」 の下で公開しています。 nanoc のチュートリアル nanoc のインストール nanac は Ruby(1.8.5またはそれ以降)と RubyGems を必要とします。 すでに RubyGems をインストールしてあるかもしれませんが、 そうでないならばここ から手に入れてください。

  • Nanoc: a static-site generator written in Ruby » home

    Nanoc © 2007–2024 Denis Defreyne. The content of the Nanoc website is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License, with exception of code examples, which are released into the public domain. Nanoc is licensed under the MIT license. Font Awesome licensed under SIL OFL 1.1. Subtle Patterns by Atle Mo. Deployed on Netlify, the hosting platform with native support for

    skyriser
    skyriser 2012/12/08
    WordPressべースからこれに変更すればhamlなりmdなりでバシバシ書けるな。
  • 1
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy