技术控

    今日:104| 主题:49431
收藏本版 (1)
最新软件应用技术尽在掌握

[其他] Della – Django App to Manange Secret Santa/Gift Exchange

[复制链接]
嘚過苴過 发表于 2016-11-30 03:00:34
36 2

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
della

  Della is a Django app for managing Secret Santa/Gift Exchange. It is written for small communities where participants are in the range of 200-250 but not more (Why so?).  
  Features

  Della has very limited set of features, however, if you need some extra feature then feel free to    tweet meand I    mightconsider adding it.  
  
       
  • User signup (with invite code)   
  • Messaging and secret/sneaky messaging (with email notifications)   
  • Gallery   
  • Admin features - Drawing names, Sending mass emails  
  Screenshots

  Check    here.  
  System Requirements

  
       
  • Python 3.5   
  • PostgreSQL (orMySQL)   
  • nginx   
  • supervisord  
  Other requirements

  Della uses    Sparkpostto send emails. So you need Sparkpost API Key and also an email address which can be used to send emails with Sparkpost.  
  While signing up, every participant needs an invite code, which can be set to any string by admin.
  These settings are to be set in    della/settings/secret.pyas    SPARKPOST_API_KEY,    SENDER_EMAILand    INVITE_CODE.  
  Deployment

  
       
  •       Clone the repo and rename/copy        della/settings/sample_secret.pyto        della/settings/secret.pyand set the variables appropriately.      
       
  •       Install the requirements
         
    1. pip3 install -r requirements.txt
    复制代码
       
  •       Setup ngnix (use        configs/nginx)      
       
  •       Setup uWSGI (use        configs/uwsgi.conf)      
       
  •       Setup supervisord (use        configs/supervisor.conf)      
      
  Once everything is setup, CD into della directory and run following:
  1. pip3 install -r requirements.txt
  2. python3 manage.py migrate --settings=della.settings.production
  3. python3 manage.py collectstatic --settings=della.settings.production --noinput
  4. python3 manage.py createsuperuser --settings=della.settings.production
  5. python3 manage.py makemigrations background_task --settings=della.settings.production
  6. python3 manage.py migrate --settings=della.settings.production
  7. systemctl start della.uwsgi.service
  8. supervisorctl start della_background_tasks
复制代码
To Do

  
       
  • Add tests   
  • Mark/confirm gifts received (or not)   
  • Add commenting system for Gallery   
  • Allow multiple exchanges   
  • Ability to set preference questionnaire for exchanges  
  Name

  The name Della comes from O. Henry's short story    The Gift of the Magi.  
  Send me love

  You will probably going to use a VPS to host Della, please consider using any of the following referral links:
  
       
  •       Digital Ocean   
  •       Vultr   
  •       Ramnode  
  Or some bitcoins:    1LAmWUmdu1r1KLQrcZ2uK6r5P7xx5gRmnW. Thank you!    :santa:  
  Contributing

  Check the loggedissues with tag    enhancement. Do submit a new issue if you have any UI/UX suggestion.  
  License

  The mighty MIT license. Please check    LICENSEfor more details.
友荐云推荐




上一篇:Is Standard Java Logging Dead? Log4j vs Log4j2 vs Logback vs java.util.logging
下一篇:Write You A Scheme version 2.0
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

阚凯力 发表于 2016-11-30 08:24:53
能力就像瓜子仁,只有咬牙才能嗑出来。
回复 支持 反对

使用道具 举报

邓秋月 发表于 2016-11-30 14:46:25
我已经计划好500万该怎么花,可我居然没中奖。
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表