GithubHelp home page GithubHelp logo

louwers / cmlyst Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cutelyst/cmlyst

0.0 2.0 0.0 476 KB

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

CMake 0.94% HTML 15.97% CSS 2.51% JavaScript 0.30% C++ 80.28%

cmlyst's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.