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

Commit

Permalink
docs(installation): Update windows installation guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Mar 18, 2016
1 parent efd1328 commit 06406fc
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions docs/installation/windows-installation.md
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.

0 comments on commit 06406fc

Please sign in to comment.