https://github.com/stewartpark/bdayreminder
Birthday Reminder built for drchrono
https://github.com/stewartpark/bdayreminder
Last synced: 3 months ago
JSON representation
Birthday Reminder built for drchrono
- Host: GitHub
- URL: https://github.com/stewartpark/bdayreminder
- Owner: stewartpark
- Created: 2015-10-21T00:56:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-29T08:33:03.000Z (over 9 years ago)
- Last Synced: 2025-02-02T23:06:07.287Z (5 months ago)
- Language: Python
- Size: 1.28 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Birthday Reminder built for
![]()
=====================================================Birthday Reminder, written in Python/Django + Celery + Angular.js.
[Demo](-)




## How to deploy via Docker
To build the docker image, type the following:
```
# Install front-end dependencies.
$ bower install# Build the image.
$ docker build -t bday_reminder .
```To deploy the server, push the docker image to the remote server and type the following in a docker host:
```
# Standalone Django web server
$ docker run -d -p 80:80 \
-e DRCHRONO_CLIENT_ID= \
-e DRCHRONO_CLIENT_SECRET= \
-e DRCHRONO_REDIRECT_BASE_URL=http://foo.bar \
-e EMAIL_HOST= \
-e EMAIL_PORT=25 \
-e [email protected] \
-e EMAIL_PASSWORD= \
-e EMAIL_USE_TLS=1 \
--link redis:redis \
-e REDIS_PASSWORD= \
-e REDIS_DB=0 \
bday_reminder# Celery worker
$ docker run -d \
-e DRCHRONO_CLIENT_ID= \
-e DRCHRONO_CLIENT_SECRET= \
-e DRCHRONO_REDIRECT_BASE_URL=http://foo.bar \
-e EMAIL_HOST= \
-e EMAIL_PORT=25 \
-e [email protected] \
-e EMAIL_PASSWORD= \
-e EMAIL_USE_TLS=1 \
--link redis:redis \
-e REDIS_PASSWORD= \
-e REDIS_DB=0 \
bday_reminder celery worker
```