Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add doc for 0install
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Jun 22, 2015
1 parent 72e9da1 commit bcecb27
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/0install/setup.md
@@ -0,0 +1,37 @@
The 0install distribution of the client is to allow zanata-cli to be available on multiple platform. This distribution requires [0install](http://0install.net/) to run.

## Prerequisites

1. Install [0install](http://0install.net/injector.html) on your machine.

#### OpenJDK (For linux OS)

See [OpenJDK guide](http://openjdk.java.net/install/) for more information.

#### Oracle Java JRE

See [Oracle Java SE](http://www.oracle.com/technetwork/java/javase/downloads/index.html) for more information.

#### Mac OS

- Install homebrew
- Install cask `brew install caskroom/cask/brew-cask`
- `brew cask install java`

## Install zanata-cli

Run command below to install zanata-cli.

```
0install -c add zanata-cli http://zanata.org/files/0install/zanata-cli.xml
```

Now you can run `zanata-cli --help` for more options.

## Update Zanata CLI

To update Zanata CLI, run

```
0install update http://file.bne.redhat.com/aeng/0install/zanata-cli.xml
```
4 changes: 4 additions & 0 deletions docs/installation.md
Expand Up @@ -15,6 +15,10 @@ sudo yum install zanata-client

See [Ivy installation](/ivy/installation) for more information.

## Installation with 0install

See [0install installation](/0install/setup) for more information.

## Manual Installation

To manually install zanata-cli:
Expand Down
2 changes: 2 additions & 0 deletions mkdocs.yml
Expand Up @@ -18,6 +18,8 @@ pages:
- Installation: 'maven-plugin/installation.md'
- Configuration: 'maven-plugin/configuration.md'
- Commands: 'maven-plugin/commands.md'
- 0install:
- Installation: '0install/setup.md'
- Commands:
- init: 'commands/init.md'
- push: 'commands/push.md'
Expand Down

0 comments on commit bcecb27

Please sign in to comment.