This document describes how to setup ClowdFlows3 backend without Docker. For a Docker-based installation please use this repository as a template.
Please note that a working ClowdFlows3 installation also requires the frontend which is available here (clowdflows-webapp).
- python 3.6 or newer (3.7.15 is recommended)
python -m venv cf-venvgit clone https://github.com/xflows/clowdflows-backend.gitcd clowdflows-backend
pip install -r requirements.txtEdit clowdflows-backend/mothra/settings.py if needed. Note that by default, SQLite is used.
It is advised to replace it with Postgres for better performance.
Find and modify Django's DATABASES variable in this file as described in this guide.
source cf-venv/bin/activate
python manage.py migrate
python manage.py import_all
python manage.py collectstatic --noinput
python manage.py createsuperuserpython manage.py runserverIf the frontend server is already running with default configuration, you can open http://localhost:8080/ and log in using admin credentials.
Install any extra ClowdFlows3 packages and add corresponding entries into the packages/packages.py.