Skip to content

otolab/halumi-core

Repository files navigation

server mode usage

docker-compose up -d
fetch('http://localhost/?text='+encodeURIComponent('明日休みます'))
  .then(res => res.text())
  .then((ret)=>console.log(ret));
$ curl -G http://localhost:80/ --data-urlencode text='明日は休みです'
docker-compose down -v

demo.js

docker-compose up -d
docker-compose exec halumi bash
$ cd halumi
$ node demo/demo.js
docker-compose down -v