Install Ivy from the Python Package Index using pip:

$ pip install ivy

Create a new directory for your site and cd into it:

$ mkdir mysite
$ cd mysite

Initialize the site directory using the init command:

$ ivy init

Ivy will create the following directory structure for your site:

    site.py      # site configuration file
    ext/         # extensions directory for plugins
    inc/         # includes directory for menus, etc.
    lib/         # library directory for themes
    out/         # output directory for html files
    res/         # resources directory for static assets
    src/         # source directory for text files

Ivy initializes your src directory with a simple skeleton site which you can build immediately using the build command:

$ ivy build

You can run the build command from the site directory itself or from any of its subdirectories. It tells Ivy to render the text files in the src directory into HTML and place the output in the out directory.

Run the build command and take a look at the output. You can open the HTML files directly in your browser or use Ivy's builtin web server to serve the contents of the out directory:

$ ivy serve

This command will start the test server and automatically launch the default web browser to view the site. Use Ctrl-C when you want to shut the server down.

Ivy defaults to building the site using its debug theme, which is useful but not particularly pretty. Try rebuilding the site using the vanilla theme to add some basic styling:

$ ivy build --theme vanilla

You can run ivy --help to see a list of all the commands available. Note that you can get help for a specific command by running ivy help <command>.