French verb trainer
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
apps/verbes
data
img
scripts
verbes
.dockerignore
.gitignore
Dockerfile
LICENSE
Makefile
Makefile.app
README.md
manage.py
requirements.txt

README.md

Verbes

Verbes is a French verb conjugation trainer.

Development Environment

Quick Start

Create the database image

$ make create-db

Start the database

$ make start-db

Create initial data

$ make run-app CMD=bash
# The following commands must be run in the app container
$ make migrate
$ make createsuperuser
$ make load-tenses load-most-frequent-verbs
$ exit

Run the app

$ make run-app

Deployment

On the Dokku host:

$ dokku apps:create verbes.mathieularose.com
$ dokku config:set verbes.mathieularose.com DEFAULT_FROM_EMAIL=<email>
$ dokku config:set verbes.mathieularose.com EMAIL_URL=<email url>
$ dokku config:set verbes.mathieularose.com SECRET_KEY=<secret key>
$ dokku postgres:create verbes
$ sudo dokku plugin:install https://github.com/dokku/dokku-postgres.git postgres
$ dokku postgres:link verbes verbes.mathieularose.com
$ dokku proxy:ports-add verbes.mathieularose.com http:80:5555

HTTPS

$ dokku config:set --no-restart verbes.mathieularose.com DOKKU_LETSENCRYPT_EMAIL=<e-mail>
$ sudo dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git
$ dokku letsencrypt verbes.mathieularose.com
$ dokku letsencrypt:cron-job --add

Author

Mathieu Larose mathieu@mathieularose.com