Skip to content

Latest commit

 

History

History
71 lines (55 loc) · 2.07 KB

README.md

File metadata and controls

71 lines (55 loc) · 2.07 KB

Librum Micro-Blog Engine

Librum is an opensource, lightweight and ready to use blog engine written in C#

Travis License: MIT

image

How to Deploy

Read the Tutorial

Deploy with Docker

To use Librum with Docker you need to enable Docker Swarm mode and run this commands:

docker swarm init

docker config create librum librum.json #Change librum.json to point on a valid configuration file

docker service create \
     --name librum \
     --config source=librum,target=/app/librum.json,mode=0440 \
     --publish published=80,target=80 \
     clintnetwork/librum:latest

Default Configuration File (librum.json)

{
    "BlogName": "Librum Blog",
    "Description": "A little demonstration of Librum 🚀.",
    "Keywords": "librum,blog,csharp,blogging,netcore,demo",
    "Icon": "fas fa-square",
    "CanonicalUri": "https://clint.network",
    "Contact": "[email protected]",
    "Twitter": "librum",
    "Github": "clintnetwork/librum",
    "Menu": [
        {
            "Title": "About Librum",
            "Link": "/article/about"
        }
    ],
    "Configuration": {
        "FixedNavbar": false,
        "DisplayHeader": true
    },
    "UsersStore": [{
        "Role": "Administrator",
        "Email": "[email protected]",
        "Password": "PASSWORD_IN_SHA1",
        "FullName": "Librum Blog",
        "Twitter": "librum",
        "GitHub": "clintnetwork/librum",
        "Website": "https://librum.org"
    }],
    "DisqusHostname": "librum.disqus.com"
}

Contribute

Feel free to contribute by opening a Pull Request and Forking or simply make a donation using addresses:

Stratis: ShUDjFTvQfuFEgmkYzdQiPPAdjRCe91kaq

Bitcoin: 3NhdjiGrpzH5geVrDHa173EuXxnAVhghtZ