Skip to content

Docker production notes

phlax edited this page Apr 21, 2018 · 12 revisions

(WORK IN PROGRESS)

Setup a docker environment

Following the guide at https://github.com/translate/pootle/wiki/Docker-setup-notes

Configure your pootle site

at a minimum you should set the POOTLE_SITE_NAME ...

Pull the required images

makey production pull

Migrate the and initialize the database

The --no-projects flag is optional

makey production pootle migrate
makey production pootle initdb --no-projects

Create and a verify a superuser

assuming you create a user with username of "pootleadmin"

makey production pootle createsuperuser
makey production pootle verify_user pootleadmin

Start a web server

Pull and start the server with the following command

makey web
Clone this wiki locally