Skip to content
/ CMlyst Public
forked from cutelyst/CMlyst

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

Notifications You must be signed in to change notification settings

louwers/CMlyst

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMlyst

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

Help is welcome :)

Dependencies

  • Grantlee
  • Cutelyst 2.0.0 with enablend Grantlee plugin

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.

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

Setup

To create the first admin user set the SETUP enviroment variable, run the server and point your browser to http://localhost:3000/.admin.

Paths

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 80.3%
  • HTML 16.0%
  • CSS 2.5%
  • Other 1.2%