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: 10 months 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 9 years ago)
- Default Branch: master
- Last Pushed: 2023-10-07T19:16:17.000Z (over 2 years ago)
- Last Synced: 2025-03-03T01:31:46.551Z (about 1 year 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
```