Advertisement
Guest User

Untitled

a guest
Apr 17th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. Usage: <main class> [options] [command] [command options]
  2. Commands:
  3. db Database commands
  4. Usage: db [options]
  5. Options:
  6. -c, --campaigns
  7. JSON file containing one or more campaigns to insert into db
  8. -f, --file
  9. JSON file containing publishers, campaigns, videos, users, widgets.
  10. -i, --init
  11. Whether to init database or not. Note that this will drop all
  12. tables, then create default taboola publisher and auto_taboola_user
  13. Default: false
  14. -ip, --init-prod
  15. Import permissions, roles, groups, and taboola-templates publisher
  16. from production-like db.
  17. Default: false
  18. -iw, --init-widgets
  19. Import all widgets from production-like db
  20. Default: false
  21. -j, --jdbc-url
  22. JDBC url to use - note that db should have a user trc:taboola
  23. Default: jdbc:mysql://localhost
  24. -o, --output-folder
  25. Output folder for any resulting files
  26. Default: output/
  27. --private-key
  28. Private key to use for uploadTo
  29. Default: /home/roya/.ssh/id_rsa
  30. -p, --publishers
  31. JSON file containing one or more publishers to insert into db
  32. --skip-defaults
  33. Skip initialization of defaults file. Only relevant when
  34. initializing database.
  35. Default: false
  36. --upload-to
  37. Connection string to use to copy created loader.js/impl.js files to
  38. -u, --users
  39. JSON file containing one or more users to insert into db
  40. -v, --videos
  41. JSON file containing one or more videos to insert into db.
  42. -w, --widgets
  43. JSON file containing one or more widgets to insert into db.
  44.  
  45. cql Cassandra commands
  46. Usage: cql [options]
  47. Options:
  48. * -c, --cassandra
  49. Cassandra host to insert recommendations to
  50. -d, --dc
  51. DC for cassandra host
  52. Default: ILDC
  53. * -i, --input
  54.  
  55. -j, --jdbc-url
  56. JDBC url to use - note that db should have a user trc:taboola
  57. Default: jdbc:mysql://localhost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement