Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/roundpartner/go-cms
- Owner: roundpartner
- License: mit
- Created: 2017-04-27T13:15:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-07T19:16:17.000Z (over 1 year ago)
- Last Synced: 2024-11-13T23:30:36.982Z (3 months ago)
- Topics: cms, golang, markdown-to-html, microservice
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```