1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Adjusted dev instructions further

This commit is contained in:
krateng 2021-12-21 22:39:07 +01:00
parent 72941558d2
commit 2fa9eeaa07

View File

@ -1,13 +1,14 @@
# Basic Development Instructions
> To avoid cluttering your system, you might want to use a [virtual environment](https://docs.python.org/3/tutorial/venv.html).
After you've cloned the repository, traverse into the `maloja` folder with `cd maloja`.
Make sure all dependencies are installed.
Your system needs a few packages, on Alpine Linux these can all be installed with `sh install_alpine.sh`.
For other distros, try to find the equivalents of the packages listed there or simply check your error output.
Python dependencies can be installed with `pip install -r requirements.txt`
Your system needs several packages installed. On Alpine, this can be done with
`apk add python3 python3-dev gcc libxml2-dev libxslt-dev py3-pip libc-dev linux-headers`
For other distros, try to find the equivalents of the packages listed or simply check your error output.
Then install all Python dependencies with `pip install -r requirements.txt`. To avoid cluttering your system, consider using a [virtual environment](https://docs.python.org/3/tutorial/venv.html).
## Running the server