Giter VIP home page Giter VIP logo

moss's Introduction

Moss

moss is a simple and lightweight web content management system

moss是一个简单轻量的内容管理系统

可以使用mysql、postgresql、sqlite数据库。后台支持12种语言,可切换明暗风格

使用中不懂的可以加群问我

QQ交流群:68396947

TG交流群:https://t.me/+EMrWsf0K6yw3NDhl


中文 english

暗色

dark list

开始使用

默认启动后使用sqlite
默认后台地址 /admin

配置文件(conf.toml)

key 说明 默认
addr 监听地址 随机
db 数据库类型 sqlite
dsn 数据源 ./moss.db?_pragma=journal_mode(WAL)
  默认sqlite使用WAL方式打开,防止读取阻塞
  • 数据源示例
Type dsn 示例
sqlite ./data.db
mysql user:password@tcp(127.0.0.1:3306)/moss?charset=utf8mb4&parseTime=True
postgresql host=127.0.0.1 port=5432 user=postgres password=123456 dbname=moss sslmode=disable

命令行

key 说明 示例
--username 重置管理员用户名
--password 重置管理员密码
--adminpath 重置后台路径 ./moss --adminpath="admin"
--config 指定配置文件路径 ./moss --config="/home/othername.toml"
可以通过 ./moss --help 查看更多信息

moss's People

Contributors

deep-project avatar okxlin avatar

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.