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.
Merge commit 'd00e427032f7619f4e072b5bb4ca860df613cf24' into HEAD
- Loading branch information
Showing
1 changed file
with
7 additions
and
21 deletions.
There are no files selected for viewing
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,23 +1,9 @@ | ||
1. Click [here](http://0install.de/files/zero-install.exe) to download and install [0Install for Windows](http://0install.net/install-windows.html). | ||
2. Run `0install -c add zanata-cli https://raw.githubusercontent.com/zanata/zanata.github.io/master/files/0install/zanata-cli-jre.xml` to setup alias. | ||
3. Now you can run `zanata-cli --help` for more options. | ||
** Prerequisite ** | ||
- Install Java runtime 8 (JRE 8) from http://www.oracle.com/technetwork/java/javase/downloads/index.html | ||
|
||
*Note: If you have installed `zanata-cli` previously through another method, you need to uninstall that for this to work.* | ||
|
||
|
||
|
||
### Useful command | ||
|
||
**Run Zanata-cli without alias** | ||
``` | ||
0launch https://raw.githubusercontent.com/zanata/zanata.github.io/master/files/0install/zanata-cli-jre.xml {command} | ||
``` | ||
|
||
**Update Zanata-cli manually** | ||
``` | ||
0install update https://raw.githubusercontent.com/zanata/zanata.github.io/master/files/0install/zanata-cli-jre.xml | ||
``` | ||
|
||
**Zanata-cli feed without JRE dependency** | ||
|
||
`https://raw.githubusercontent.com/zanata/zanata.github.io/master/files/0install/zanata-cli.xml` | ||
1. Download zanata-cli dist.zip from [maven central](http://search.maven.org/remotecontent?filepath=org/zanata/zanata-cli/3.8.1/zanata-cli-3.8.1-dist.zip) | ||
2. Extract the downloaded file into a folder. | ||
3. Search for `cmd` in Windows Start button and open up `Command prompt window` | ||
4. Navigate to the extracted folder by using `cd` command. e.g. `cd C:\temp` | ||
4. Run the following command `java -cp lib/* org.zanata.client.ZanataClient` to start zanata-cli. |