Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 893 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 893 Bytes

Translation App

This playbook deploys ioi/translation.

Deployment

  1. Provision a VM.

  2. Add the (floating) IP to the [translation] group in env/hosts.ini.

  3. Open env/vars.yml. Fill out the following config:

    • translation_db
    • translation_db_user
    • translation_db_pass
    • translation_secret_key
  4. Set up A record domain pointing to the VM IP. Put the domain name in translation_fqdn.

  5. If you want to set up Nginx basic auth, fill out the following config:

    • translation_auth_basic_user
    • translation_auth_basic_pass
  6. Deploy:

    ansible-playbook -i env/hosts.ini -e @env/vars.yml translation/deploy.yml
    

Configuring default users

Open the app, log in as admin (default password: admin), and then change the passwords for the following auto-generated users:

  • admin
  • staff
  • ISC