Skip to content
Merged
Prev Previous commit
Next Next commit
Fix psycopg2 compilation error
  • Loading branch information
Mec-iS committed Mar 13, 2021
commit 350222492a3f36650dec6ff5c00e0bb2604d3007
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,30 @@ cd hydrus
git checkout -b develop origin/develop
```

Install a [*Python virtual environment*](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/) using:
```bash
python3.7 -m venv .venv
```
or:
```bash
virtualenv -p python3.7 .venv
```

Install hydrus using:
```bash
pip3 install -r requirements.txt
source .venv/bin/activate
pip install -r requirements.txt
python setup.py install
```

python3 setup.py install
NOTE: there is an alternative way to install dependencies with `poetry`:
```bash
pip3 install poetry
poetry install
```
This is mostly used to check dependencies conflicts among packages.

and run the server using:

After installation is successful, to run the server:
```bash
hydrus serve
```
Expand Down
Loading