File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- <!-- Please create/claim an issue before sending a PR -->
1+ <!-- Please create (if there is not one yet) a issue before sending a PR -->
22<!-- Add issue number (Eg: fixes #123) -->
3+ <!-- Always provide changes in existing tests or new tests -->
34
45Fixes #
56
67### Checklist
78- [ ] My branch is up-to-date with upstream/develop branch.
89- [ ] Everything works and tested for Python 3.6.0 and above.
910
10- ### Description
11- <!-- Describe about what this PR does, previous state and new state of the output -->
11+ ### Current behaviour
12+ <!-- Describe the code you are going to change and its behaviour -->
13+
14+ ### New expected behaviour
15+ <!-- Describe the new code and its expected behaviour -->
1216
1317### Change logs
1418
Original file line number Diff line number Diff line change @@ -63,15 +63,30 @@ cd hydrus
6363git checkout -b develop origin/develop
6464```
6565
66+ Install a [ * Python virtual environment* ] ( https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/ ) using:
67+ ``` bash
68+ python3.7 -m venv .venv
69+ ```
70+ or:
71+ ``` bash
72+ virtualenv -p python3.7 .venv
73+ ```
74+
6675Install hydrus using:
6776``` bash
68- pip3 install -r requirements.txt
77+ source .venv/bin/activate
78+ pip install -r requirements.txt
79+ python setup.py install
80+ ```
6981
70- python3 setup.py install
82+ NOTE: there is an alternative way to install dependencies with ` poetry ` :
83+ ``` bash
84+ pip3 install poetry
85+ poetry install
7186```
87+ This is mostly used to check dependencies conflicts among packages.
7288
73- and run the server using:
74-
89+ After installation is successful, to run the server:
7590``` bash
7691hydrus serve
7792```
You can’t perform that action at this time.
0 commit comments