Skip to content

jpablobr/Kharites-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kharites-tools

Gem to provide several tools to Kharites

http://rubygems.org/gems/Kharites-tools

Installation

For the latest stable version:

sudo gem install Kharites-tools

Or from source:

git clone git://github.com/jpablobr/kharites-tools.git
cd kharites-tools
rake install

Usage

Enter Kharites

Kharites will set up a basic site structure for you with this command:

kharites generate <article>

After this command you'll have the following files:

  .
  `-- <article>
      |-- article.kharites
      |-- public
      |   |-- images
      |   |-- javascripts
      |   `-- stylesheets
      `-- views
          |-- application.sass
          |-- index.haml
          `-- layout.haml

Kharites sets you up with a sample layout, stylesheet and page file.

kharites server

Load this URL in your browser:

http://localhost:4567/articles/article

You’re done. SRSLY.

TODO

Note on Patches/Pull Requests

Fork the project. Make your feature addition or bug fix. Add tests for it. This is important so I don’t break it in a future version unintentionally. Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull) Send me a pull request. Bonus points for topic branches.

Copyright

Copyright 2009 Jose Pablo Barrantes. MIT Licence, so go for it.

About

Gem to provide several tools for Karites

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages