Skip to content

TransiTime Building

Bodo Minea edited this page Dec 1, 2021 · 5 revisions
git clone https://github.com/TheTransitClock/transitime.git
cd transitime/
mvn install -DskipTests

Now, with the JARs in place, we will generate the database table structures and import as follows - structs and webstructs for your first and main agency database (the one that will hold the list of WebAgencies), only structs for the other agency databases.

java -jar SchemaGenerator.jar -o /tmp -p org.transitclock.db.structs
java -jar SchemaGenerator.jar -o /tmp -p org.transitclock.db.webstructs
mysql -u DB_USER -p -D DB_NAME < ddl_mysql_org_transitclock_db_structs.sql 
mysql -u DB_USER -p -D DB_NAME < ddl_mysql_org_transitclock_db_webstructs.sql
mysql -u DB_USER -p -D SECONDARY_NAME < ddl_mysql_org_transitclock_db_structs.sql 
(...)
Clone this wiki locally