splendid-cms / main

Hybrid CMS extending framework power by its extensible codebase

Home Page:https://splendidjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get started with Splendid!

Splendid is a free magnificent open-source Node.js content management system based on a fast web framework Fastify for publishing web content on websites using Markdown markup language, plugins to improve user experience and themes to beautify this experience.


Installation

Installation process requires you to have a Node.js installed on your machine and nothing else.

Create a project

Download one of two given options can be found on our website!

Deploy the project

Unarchive or unzip the fresh downloaded folder in project root folder.

Setup the project

Checkout config.json in order to configure basic information about the website. It may look like

{
    "Website_name": "Splendid",
    "Theme": "preshow",
    "Icon": "favicon.ico",
    "Port": 3000,
    "Plugins": [],
    "Content": {
        "Header": {
            "Name": "/home/",
            "Github": "https://github.com/splendid-cms"
        },
        "Sidebar": {
            "Page Name": "/link-1/",
            "Category": {
                "Page Name": "/link-2/",
                "Subcategory": {
                    "Page Name": "/link-3/"
                }
            }
        },
        "Footer": "Footer text"
    },
    "Debug": false
}
  • Where "Website_name" stays for the project name that will be used in header, title etc. (Depends on the theme),
  • "Theme" stays for the theme name i.e theme folder name inside the /content/themes directory,
  • "Icon" for the icon path that will be used in the browser tab (path already starts with /content/media),
  • "Port" that will be used to server listening,
  • "Plugins" for activated plugin names array i.e plugin folder name inside the /plugins directory,
  • "Content" for the basic content like Header, Sidebar and Footer (Depends on the theme and plugin. Basic version supports these 3),
  • "Debug" for logging events.

After all done consider running npm install in the terminal in order to install missing dependencies that were used for the Splendid.

Start the server

It is recommended to use the nodemon starting in order to easily deploy changes without restarting the server. In order to do that use the npm start command. If you wish to simply use node command: node . or node views/js/app.js


Documentation

If you would like to learn more check out more here

About

Hybrid CMS extending framework power by its extensible codebase

https://splendidjs.org

License:MIT License


Languages

Language:JavaScript 42.0%Language:SCSS 24.5%Language:HTML 17.2%Language:CSS 16.3%