Skip to content
Jeffrey Scott Flesher edited this page Oct 1, 2018 · 3 revisions

Welcome to the CMlyst WiKi

CMlyst is a Content Management application built upon Cutelyst with support for Menus, Pages, Blogs and Feeds

Help is welcome :)

Dependencies

  • Cutelyst 2.0.0 or >

Configuration

Create an INI file like cmlyst.conf with:

[Cutelyst]
DataLocation = /var/tmp/my_site_data
production = true

Where:

  • DataLocation is the place where images uploads and sqlite database will be placed
  • production when true will preload the theme templates, which is a lot faster but if you are customizing the theme you will need to reload the process

Running

You can run it with cutelyst-wsgi or uWSGI, both have similar command line options, and you should look at their documentation to know their options, the simplest one:

cutelyst-wsgi --application path/to/libcmlyst.so --http-socket :3000 --ini cmlyst.conf --chdir parent_of_root_dir --static-map /static=root/static

The chdir needs to point to the parent of the root directory that came from this project. The option --static-map is used to serve the static files.

Setup

On the first run you will have not users; you need to set the Environment Variable SETUP before running setup; you can do this by issuing the command:

declare -x SETUP=true.

Now point your browser to http://localhost:3000/setup

After you create a user run:

unset SETUP

The back end of of CMlyst is located at the .admin URL: http://localhost:3000/.admin.

Paths

COMMUNITY

The Cutelyst project IRC channel is #cutelyst on freenode.

Or you can use the Mailing List

Clone this wiki locally