Content translation/Deployments/How-to/TPA

Connect to stat100x
Open,

This will open JupyterHub, which requires LDAP password to login.

Starting notebook
Make sure to check Kerberos authentication timeout first. Default is set to 48 hours now.

Extend it by running kinit:

Running scripts
0. Open terminal and clone:  Update   for pairs requires to generate template parameter alignments.

1. Run all notebooks in order.

2. 00ExtractNamedTempates.ipynb overwrites existing output if runs again, so it is better to save products JSON files somewhere to save time.

Updating database
Run:  from cxserver pointing all generated files from the process.

This will update templatemapping.db. Copy it to config/templatemapping.db and submit patch for review. This database can be open with sqlite command to verify newly generated pairs.

Also see

 * Issues related to Kerberos access: https://wikitech.wikimedia.org/wiki/SWAP#Access_and_infrastructure
 * Jupyter at Wikitech contains useful information: https://wikitech.wikimedia.org/wiki/Analytics/Systems/Jupyter