This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(installation guide):update installation guide
- Loading branch information
Alex Eng
committed
Dec 10, 2015
1 parent
83b5212
commit 6e9c1ea
Showing
4 changed files
with
18 additions
and
106 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,12 @@ | ||
1. Click [here](http://downloads.sourceforge.net/project/zero-install/0install/2.8/ZeroInstall.pkg) to download binary package of [0Install for OS X](http://0install.net/install-osx.html). | ||
2. Install 0Install: `sudo installer -pkg ZeroInstall.pkg -target`. | ||
3. Install homebrew: `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"` | ||
4. Install cask: `brew install caskroom/cask/brew-cask`. | ||
5. Install Java runtime: `brew cask install java`. | ||
6. Setup alias: `0install -c add zanata-cli http://zanata.org/files/0install/zanata-cli.xml`. | ||
7. Now you can run `zanata-cli --help` for more options. | ||
## With Homebrew | ||
|
||
*Note: If you have installed `zanata-cli` previously through another method, you need to uninstall that for this to work.* | ||
1. Install [Homebrew](http://brew.sh/): `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"` | ||
- If you already have Homebrew installed, run `brew update` to pull in the latest formulae. | ||
2. If you **don't** have Java 1.7+, you can install it using `brew install brew-cask && brew cask install java`. | ||
3. Install the zanata-client: `brew install zanata-client` | ||
4. Now you can run `zanata-cli --help` for more options. | ||
|
||
### Useful command | ||
### Upgrading | ||
|
||
**Run Zanata-CLI without alias** | ||
``` | ||
0launch http://zanata.org/files/0install/zanata-cli.xml {command} | ||
``` | ||
|
||
**Update Zanata-CLI manually** | ||
``` | ||
0install update http://zanata.org/files/0install/zanata-cli.xml | ||
``` | ||
1. Run `brew update` | ||
2. Run `brew upgrade zanata-client` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters