There are several ways to install lilac, but the recommended one is to install lilac with Virtualenv.
Lilac supports only *nix: Mac OS X, Linux, BSD (Only linux tested).
If you are a pythoner, you should install lilac via virtualenv .
If virtualenv is not installed on your OS, install it:
$ sudo pip install virtualenv
Once you have virtualenv installed, open a shell and create a new environment for your blog:
$ mkdir MyBlog $ cd MyBlog $ virtualenv venv New python executable in venv/bin/python Installing setuptools............done. Installing pip...............done.
Now, whenever you want to write blog, you have to activate the corresponding environment:
$ . venv/bin/activate
Then, install lilac in your virtualenv:
$ pip install lilac
Just run pip with root privileges:
$ sudo pip install lilac
Lilac is hosted on GitHub, where you can get the latest code.
You can clone the repository:
$ git clone git://github.com/hit9/lilac.git
Or, download the tarball.
Once you get the code, you can install it into your site-packages:
$ [sudo] python setup.py install
Whenever you want to upgrade your lilac to latest version:
$ [sudo] pip install lilac --upgrade
You may want to see the Quick Start part now.
If you meet problems similar to this: Cann't find Python.h, try to install Python development libraries.
If your’re using Ubuntu, install it via:
$ [sudo] apt-get install python-dev
There’s no this issue on OS X.