Git Product home page Git Product logo

coscup2013secretary-toolkit's Introduction

COSCUP2013Secretary Tool Kit

以 jinja2 模板引擎排版電子報並利用 Amazon SES 發送,使用 twilio 傳送簡訊通知,所有的任務丟到 AWS SQS,再透過 AWS SNS 喚起執行任務。

安裝

需要 boto, jinja2 套件

pip install -r ./requirements.txt

需要 Amazon AWS ID, KEY, twilio SID, TOKEN

請在 ./setting.py.tmp 鍵入必要資料後改名為 ./setting.py

電子報樣板

樣板位於 ./templates/,樣板範例預覽: View

延伸功能

原來的程式有接來自資料庫使用者資料,但這部份只要在 sendall 改寫並餵入 [mail, user, nickname] 的基本欄位 dict 資料後就可以大量傳送郵件,歡迎嘗試改寫調整。

Web Server

Flask

  • python ./app.py

uWSGI

  • uwsgi -w app:app --http :6666 --logto /run/shm/coscup_sender_uwsgi.log
  • uwsgi --ini ./uwsgi.ini

ScreenShot

http://s3.toomore.net/coscup/2013-06-15+02.19.07.png

coscup2013secretary-toolkit's People

Contributors

toomore avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.