Giter Club home page Giter Club logo

main's Introduction

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

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.