技术控

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

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

[复制链接]
嘚過苴過 发表于 2016-11-30 03:00:34
147 2
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.
阚凯力 发表于 2016-11-30 08:24:53
能力就像瓜子仁,只有咬牙才能嗑出来。
回复 支持 反对

使用道具 举报

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

使用道具 举报

我要投稿

回页顶回复上一篇下一篇回列表
手机版/c.CoLaBug.com ( 粤ICP备05003221号 | 粤公网安备 44010402000842号 )

© 2001-2017 Comsenz Inc.

返回顶部 返回列表