DavidAlphaFox / personal_blog

The source code of my personal blog, written in Objective Caml

Home Page:http://github.com/pdonadeo/personal_blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PAOLO DONADEO PERSONAL BLOG

What is this?

This is the source repository of my personal blog, written in Objective Caml.

License

This software is distributed under the 2-clause BSD license. See the file LICENSE.

Software dependences

The first dependency is Linux. While in principle you should be able to compile and run under Windows and Mac OS X, I never even tried to do so, so all the following instructions are for the Linux OS.

To compile this blog you need the following software and libraries:

Compiling

With the required libraries installed, follow these steps:

  1. get the source code:

     $ git clone git://github.com/pdonadeo/personal_blog.git
    
  2. compile it:

     $ cd personal_blog/src/
     $ ocamlbuild -j 4 blog.native
     $ cp _build/blog.native blog
    

    "blog" is the executable you need.

  3. edit blog_devel.conf and modify the options to match your environments, expecially the paths of doc_root, pid_file and netplex_config;

  4. edit netplex_devel.conf. This is the Netplex configuration file and explaining the full syntax is out of scope here. Read the excellent manual for details.

    However, to configure the blog, simply search for all paths in the file and edit them to match your directory tree.

  5. run the local HTTP server, for development:

     $ ./blog --config-file `pwd`/blog_devel.conf
    
  6. head your browser to: http://localhost:5900/login, you shoud see the login page of the administration.

Customizing the blog (DB explained)

TODO TODO TODO

Configuring Apache

TODO TODO TODO

Running the FastCGI server

TODO TODO TODO

About

The source code of my personal blog, written in Objective Caml

http://github.com/pdonadeo/personal_blog

License:Other


Languages

Language:OCaml 66.0%Language:CSS 14.5%Language:HTML 12.8%Language:JavaScript 6.5%Language:Standard ML 0.2%