-
Notifications
You must be signed in to change notification settings - Fork 250
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.
$ git clone https://github.com/pinterest/teletraan.git
- [Setup Teletraan in Docker] (https://github.com/pinterest/teletraan/wiki/Setup-Teletraan-using-Docker-and-Docker-compose)
- [Setup Teletraan in Vagrant] (https://github.com/pinterest/teletraan/wiki/Setup-Teletraan-using-Vagrant)
- [Setup Teletraan directly on host] (https://github.com/pinterest/teletraan/wiki/Setup-Teletraan-directly-on-host)
With Teletraan server and Deploy Board running, you can now checkout the Teletraan UI at the default local address.
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]