Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/roundpartner/go-cms

Microservice that delivers rendered markdown pages
https://github.com/roundpartner/go-cms

cms golang markdown-to-html microservice

Last synced: about 1 month ago
JSON representation

Microservice that delivers rendered markdown pages

Awesome Lists containing this project

README

        

# Go CMS
CMS in Go

## Testing
```bash
go test
```
## Building
```bash
GOOS=linux GOARCH=amd64 go build
docker build -t go-cms .
```
## Running
Run by providing the database connection and path to the documentation
```bash
go-cms \
-conn=":@tcp(:3306)/" \
-port=7335 \
-path=
```
or with docker
```bash
docker run --rm -p 7335:7335 go-cms
```
## Usage
Request the page by supplying the page id in the uri
```bash
curl localhost:7335/index
```