Skip to content

liusining/aws-sns-to-dingtalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

First, You need to set up some config in env.rb

mv env.rb.example

Write your dingtalk callback url and phone_number in env.rb

Then, you can run the sinatra app:

  • Run in development with
ruby app.rb
  • Run in production with
bundle exec rakeup config.ru -p 4567 -s thin -o 0.0.0.0
  • Run in docker with
docker build -t aws-sns-to-dingtalk .
docker run -p 4567:4567 -d --name=aws-sns-to-dingtalk aws-sns-to-dingtalk:latest

Reference

  1. Set up thin as web server
  2. Something about gem thin
  3. How-To rackup
  4. Intro to Sinatra
  5. Dockerize sinatra app

About

Let AWS SNS connect to DingTalk group robot.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages