Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions docs/documentation/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,30 @@ Gitium requires git command line tool with a minimum version of 1.7 installed on

Alternatively, go into your WordPress dashboard and click on Plugins -> Add
Plugin and search for __gitium__. Then, click on Install and, after that, on Activate Now.


### Activating with bitbucket private repo

1. Go to your bitbucket acount and create a new (empty) repo.
2. Clone the repo. Make sure you choose "ssh" and not "https" under the cloning options. copy the clone link
3. Go to the __gitium__ page on the admin menu
4. Paste the link under the __Remote URI__ text imput erae
5. Copy the __key Pair__ from the gitium admin menu
6. Head back to the Bitbucket acount. Go into yout acount (not the repo, the whole account) -> settings -> SSH Keys -> add Key -> paste the key undet the __key__ section. You can name you key. Hit __add Key__
7. Back in the admin menu of gitium plugin, press __fetch__

All done! your repo should be filled with your theme files now.

### One Buttun Push Deploy

1. Admin menu -> gitium -> settings
2. Grab the __Webhook URL__ from this page
3. Navigate into your bitbucket repo -> settings -> webhooks -> add webhook
4. Paste the URL and hit __save__
5. clone the repo to your local machine
6. make changes
7. push the changes back to your repo
8. DONE!