Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Usage: <main class> [options] [command] [command options]
- Commands:
- db Database commands
- Usage: db [options]
- Options:
- -c, --campaigns
- JSON file containing one or more campaigns to insert into db
- -f, --file
- JSON file containing publishers, campaigns, videos, users, widgets.
- -i, --init
- Whether to init database or not. Note that this will drop all
- tables, then create default taboola publisher and auto_taboola_user
- Default: false
- -ip, --init-prod
- Import permissions, roles, groups, and taboola-templates publisher
- from production-like db.
- Default: false
- -iw, --init-widgets
- Import all widgets from production-like db
- Default: false
- -j, --jdbc-url
- JDBC url to use - note that db should have a user trc:taboola
- Default: jdbc:mysql://localhost
- -o, --output-folder
- Output folder for any resulting files
- Default: output/
- --private-key
- Private key to use for uploadTo
- Default: /home/roya/.ssh/id_rsa
- -p, --publishers
- JSON file containing one or more publishers to insert into db
- --skip-defaults
- Skip initialization of defaults file. Only relevant when
- initializing database.
- Default: false
- --upload-to
- Connection string to use to copy created loader.js/impl.js files to
- -u, --users
- JSON file containing one or more users to insert into db
- -v, --videos
- JSON file containing one or more videos to insert into db.
- -w, --widgets
- JSON file containing one or more widgets to insert into db.
- cql Cassandra commands
- Usage: cql [options]
- Options:
- * -c, --cassandra
- Cassandra host to insert recommendations to
- -d, --dc
- DC for cassandra host
- Default: ILDC
- * -i, --input
- -j, --jdbc-url
- JDBC url to use - note that db should have a user trc:taboola
- Default: jdbc:mysql://localhost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement