Difference between revisions of "Kibro"

From HaskellWiki
Jump to navigation Jump to search
m (changed directory structure a bit)
m (To be deleted if no new content appears...)
 
Line 29: Line 29:
 
example.kibro
 
example.kibro
 
example.cabal
 
example.cabal
  +
  +
[[Category:Pages to be removed]]

Latest revision as of 05:36, 24 April 2021

Kibro

Kibro will be a very simple web framework for working with Haskell and FastCGI.

I've made this page for documenting it, and discussing ideas.

Description

The idea is that a web site is a directory containing a specific structure, created by Kibro. Yes, similar to Rails in that aspect. Running the web site manipulates things only in this directory, keeping it isolated. Downloading a web site from someone should be a case of pulling from their repo. e.g. “darcs pull http://foo.com/example” and typing “cd example && ./example”, which would compile the project with cabal install (to make sure all dependencies are there) and then run it on a port like 3000.

Running “kibro example” should produce something like the following directory structure:

   example/
     config/
       fastcgi/
         start
         stop
         restart
       lighttpd/
         lighttpd.conf
         error.log
         access.log
     static/
       ...
     src/
       Example.hs
     db/
       example.sqlite
     example.kibro
     example.cabal