From 244c04cb0de5cb13883388887286095faa360997 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Fri, 14 Feb 2020 16:31:04 +0100 Subject: [PATCH] Fixes some typos --- apps/cli/INSTALL.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/cli/INSTALL.md b/apps/cli/INSTALL.md index 6eca6d1..f831f83 100644 --- a/apps/cli/INSTALL.md +++ b/apps/cli/INSTALL.md @@ -2,7 +2,7 @@ `wt_cli` has some dependencies that can be satisfied by following [DEPENDENCIES.md](DEPENDENCIES.md). If your system already satisfies the dependencies, you can skip that part. -There are two ways of running `wt_cli`: adding the library to the `PYTHONPATH` env variable, or running it as a module +There are two ways of running `wt_cli`: adding the library to the `PYTHONPATH` env variable, or running it as a module. ## Modifying `PYTHONPATH` In order to run `wt_cli`, you should set your `PYTHONPATH` env variable to include the folder that contains the `apps` folder. You can do so by running: @@ -23,11 +23,11 @@ Once the `PYTHONPATH` is set, you should be able to run `wt_cli` straightaway. T python wt_cli.py -h ## Running `wt_cli` as a module -Python code can be also run as a module, to do you need to use `python -m`. From `apps` **parent** directory run: +Python code can be also run as a module, to do so you need to use `python -m`. From `apps` **parent** directory run: python -m apps.cli.wt_cli -h -Notice that if you run `wt_cli` as a module, you'll need to replace all the calls to `python wt_cli.py ` to `python -m apps.cli.wt_cli ` +Notice that if you run `wt_cli` as a module, you'll need to replace all the calls from `python wt_cli.py ` to `python -m apps.cli.wt_cli ` ## Modify configuration parameters If you'd like to modify some of the configuration defaults (such as the user directory, where the logs and appointment receipts will be stored) you can do so in the config file located at: