-
Notifications
You must be signed in to change notification settings - Fork 7
Home
CMlyst is a Content Management application built upon Cutelyst with support for Menus, Pages, Blogs and Feeds
Help is welcome :)
- Cutelyst 2.0.0 or >
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
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.
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.
- http://localhost:3000/.admin Admin interface
- http://localhost:3000/.feed RSS feed
- http://localhost:3000/.author/slug Author page
The Cutelyst project IRC channel is #cutelyst on freenode.
Or you can use the Mailing List