From bda933522c77616ddcc25aa9c61111932fd2cd6c Mon Sep 17 00:00:00 2001 From: Dobli <61doal1mst@hft-stuttgart.de> Date: Mon, 28 Jan 2019 10:32:49 +0100 Subject: [PATCH] updated requirements info in README --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3b4bc50..25122ff 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,15 @@ bcrypt pip-tools ``` -All python requirements managed using `pip-tool` in the `requirements.in` file. The command `pip-compile` generates a `requirements.txt` file that can be used with with `pip install--user -r requirements.txt` to install all needed python dependencies, updating the `requirements.txt` file can be done using `pip-compile` again. In an virtual environment `pip-sync` can be used instead of pip install to install needed packages. +All python requirements managed using `pip-tool` in the `requirements.in` file. The command `pip-compile` generates a `requirements.txt` file that can be used with with `pip install--user -r requirements.txt` to install all needed python dependencies. E.g. on Ubuntu you can execute the following: + + + +``` +pip3 install --user -r requirements.txt +``` + +Updating the `requirements.txt` file can be done using `pip-compile` again. In an virtual environment `pip-sync` can be used instead of pip install to install needed packages. ### Config file generation -- GitLab