readme.md in web_translate_it-2.6.4 vs readme.md in web_translate_it-2.7.0
- old
+ new
@@ -1,19 +1,20 @@
# WebTranslateIt Synchronization Tool : wti
[RubyDoc](https://www.rubydoc.info/gems/web_translate_it/) |
[Report a bug](https://github.com/webtranslateit/webtranslateit/issues) |
[Support](https://webtranslateit.com/support) |
-[WebTranslateIt.com Homepage](https://webtranslateit.com)
+[WebTranslateIt.com Homepage](https://webtranslateit.com) |
+[Docker Package](https://github.com/webtranslateit/wti-docker/pkgs/container/wti-docker)
wti lets you easily sync your language files with [WebTranslateIt.com](https://webtranslateit.com), a web-based tool to translation software.
<img src="http://edouard.baconfile.com.s3.us-east-1.amazonaws.com/web_translate_it/wti4.png" alt="WebTranslateIt Synchronization Tool" width="500px">
### wti...
-* wti is a **command-line tool**. It works on all operating systems: Windows, Linux, MacOS X...
+* wti is a **command-line tool**. It works on all operating systems: Windows, Linux, MacOS X, ... It is also available as a [Docker package](https://github.com/webtranslateit/wti-docker/pkgs/container/wti-docker).
* wti is really easy to use. It was inspired by git. Use `wti push` and `wti pull` to sync your language files with WebTranslateIt.com.
### Optionally, wti does...
* include a rack middleware you can use in your Rails app to automatically fetch new translations from WebTranslateIt.com.
@@ -22,42 +23,30 @@
---
## Installation
-You will also need ruby to run `wti`. On Linux or a Mac, it’s already installed. Install [RubyInstaller](http://rubyinstaller.org/) if you’re using Windows. [See detailed installation instructions for Windows users](https://github.com/webtranslateit/webtranslateit/wiki/Install-wti-on-Windows).
+You will also need ruby to run `wti`. We require ruby version 2.6 or newer. On Linux or a Mac, it’s already installed. Install [RubyInstaller](http://rubyinstaller.org/) if you’re using Windows. [See detailed installation instructions for Windows users](https://github.com/webtranslateit/webtranslateit/wiki/Install-wti-on-Windows).
``` bash
$ gem install web_translate_it
-Fetching: web_translate_it-2.1.3.gem (100%)
-Successfully installed web_translate_it-2.1.3
+Fetching: web_translate_it-2.6.4.gem (100%)
+Successfully installed web_translate_it-2.6.4
1 gem installed
```
At this point you should have the `wti` executable working:
``` bash
$ wti -v
-wti version 2.2.1
+wti version 2.6.4
```
-On some Linux distributions you may get the following error:
+We also provide `wti` as a Docker packages. [See our packages and instructions to install](https://github.com/webtranslateit/wti-docker/pkgs/container/wti-docker).
-``` bash
-$ wti
-If 'wti' is not a typo you can use command-not-found to lookup the package that contains it, like this:
- cnf wti
-```
-
-The reason is that the wti file is named in another way: `/usr/bin/wti.ruby2.1` so you will have to create a symlink to make wti run.
-
-``` bash
-# ln -s /usr/bin/wti.ruby2.1 /usr/bin/wti
-```
-
## Configuration
-Now that the tool is installed, you’ll have to configure your project. Basically, `wti` is to be run on a project root directory, and looks for a `.wti` file containing your project information. The command `wti init` lets your create your `.wti` file.
+Now that `wti` is installed, you’ll have to configure your project. Basically, `wti` is to be run on a project root directory, and looks for a `.wti` file containing your project information. The command `wti init` lets your create your `.wti` file.
``` bash
$ wti init proj_pvt_V8skdjsdDDA4
# Initializing project