Skip to content

larose/verbes

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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