项目作者: rogerwelin

项目描述 :
Converts markdown to Atlassian confluence markup language
高级语言: Ruby
项目地址: git://github.com/rogerwelin/markdown2confluence-server.git
创建时间: 2017-05-15T10:05:02Z
项目社区:https://github.com/rogerwelin/markdown2confluence-server

开源协议:

下载


markdown2confluence-server

Synopsis

Converts markdown to Atlassian confluence markup language.
Forked from https://github.com/jedi4ever/markdown2confluence. Previosly run as a cli-tool this fork implements the functionality as a rest server using Sinatra.

Build locally

  • gem install bundle
  • bundle install —path vendor/bundle
  • bundle exec rackup

Endpoints

  • GET localhost:9292
  • GET localhost:9292/ping
  • PUT localhost:9292/markdown2confluence

Usage

Take a look at the included script test-markdown.rb to know how to interact with server

Test

Run:

  • ruby test-markdown.rb

Docker image from Dockerhub (prefered way of running the application)

  • docker run -d -p 9292:9292 rogerw/markdown2confluence-server

Build docker image locally

To build and start docker image locally:

  • docker build -t markdown2confluence-server -f docker/Dockerfile .
  • docker run -d -p 9292:9292 markdown2confluence-server