Guest User

Untitled

a guest
Feb 16th, 2018
453
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. # ## Docs setup
  2. # ### On Github
  3. # Fork api-docs repo on github to your account.
  4. # Any change you make you should push to your repo first ( into a branch preferably) and then create a pull-request to trailblazer
  5. #
  6. # ## Locally
  7. # Create a local folder like ~/projects/trailblazer/docs ( or whatever)
  8. # Where you are going to keep local copies of the gems.
  9. #
  10. # cd into the said directory
  11. #
  12. # Clone your api-docs repo locally.
  13. cd api-docs
  14. git clone git@github.com:[YOUR GITHUB ACCOUNT NAME]/api-docs
  15. cd ..
  16. #
  17. # Set upstream to trailblazer api-docs, so that you can keep in sync with any changes
  18. git remote add upstream git@github.com:trailblazer/api-docs
  19. git pull upstream
  20. #
  21. # ## Setup local copies of gems
  22. # This is needed so that docs can compile. They need to be cloned into the same parent directory
  23. #
  24. git clone git@github.com:trailblazer/cells
  25. git clone git@github.com:trailblazer/formular
  26. git clone git@github.com:trailblazer/reform
  27. git clone git@github.com:trailblazer/representable
  28. git clone git@github.com:trailblazer/roar
  29. git clone git@github.com:trailblazer/roar-jsonapi
  30. git clone git@github.com:trailblazer/trailblazer
  31. git clone git@github.com:trailblazer/trailblazer-activity
  32. git clone git@github.com:trailblazer/trailblazer-args
  33. git clone git@github.com:trailblazer/trailblazer-cells
  34. git clone git@github.com:trailblazer/trailblazer-compat
  35. git clone git@github.com:trailblazer/trailblazer-context
  36. git clone git@github.com:trailblazer/trailblazer-developer
  37. git clone git@github.com:trailblazer/trailblazer-endpoint
  38. git clone git@github.com:trailblazer/trailblazer-generator
  39. git clone git@github.com:trailblazer/trailblazer-loader
  40. git clone git@github.com:trailblazer/trailblazer-operation
  41. git clone git@github.com:trailblazer/trailblazer-rails-basic-setup
  42. git clone git@github.com:trailblazer/trailblazer-test
  43. git clone git@github.com:trailblazer/trailblazer-transform
  44.  
  45. git clone git@github.com:apotonick/torture
  46.  
  47.  
  48.  
  49. # ## Startup Docs
  50. cd api-docs
  51. bundle install
  52. bundle exec middleman server
  53.  
  54. # ## Keeping gems in sync
  55. # To pull ALL changed for all gems you can use this little snippet.
  56. # You can also alias it to a command in in you .bash_profile
  57. # alias git_pull_all 'find . -type d -name .git -exec sh -c "cd \"{}\"/../ && pwd && git pull " \;'
Add Comment
Please, Sign In to add comment