Skip to content

Setup Teletraan development environment

sbaogang edited this page Jan 9, 2017 · 9 revisions

Teletraan could be run on environment support Java and Python. For development, one could set up Teletraan in Docker, Vagrant, or directly on a physical/virtual host.

Clone the Teletraan Code

$ git clone https://github.com/pinterest/teletraan.git

Setup Teletraan service and Deploy board

Access Teletraan

With Teletraan server and Deploy Board running, you can now checkout the Teletraan UI at the default local address.

Upgrade DB schema

Be sure to backup your DB before schema upgrade Once you sync up to the latest code, or the specific SHA, simply run tools/mysql/upgrade should be enough.

$ cd teletraan/tools/mysql
$ ./upgrade.sh [-H|--host HOST] [-P|--port PORT] [-u|--user USERNAME] [-p|--password PASSWORD] [-d|--database DATABASE]