moss is a simple and lightweight web content management system
-
Run
./moss -
Start successfully
Use sqlite by default
Default management path /admin
| key | Description | Default |
|---|---|---|
| addr | listening address | random |
| db | database type | sqlite |
| dsn | data source name | ./moss.db |
- Data source name Examples
| Type | dsn Example |
|---|---|
| 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 | Description | Example |
|---|---|---|
| --username | reset administrator username | |
| --password | reset administrator password | |
| --adminpath | reset administration path | ./moss --adminpath="admin" |
| --config | Define profile path | ./moss --config="/home/othername.toml" |