Clone the repository and enter it.
git clone https://github.com/krateng/maloja
cd malojaTo avoid cluttering your system, consider using a virtual environment.
Your system needs several packages installed. For supported distributions, this can be done with e.g.
sh ./install/install_dependencies_alpine.shFor 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.txtFor development, you might not want to install maloja files all over your filesystem. Use the environment variable MALOJA_DATA_DIRECTORY to force all user files into one central directory - this way, you can also quickly change between multiple configurations.
You can quickly run the server with all your local changes with
python3 -m maloja runYou can also build the package with
pip install .You can also always build and run the server with
sh ./dev/run_docker.shThis will use the directory testdata.
Feel free to ask if you need some help!