A web service for sharing feature model instances, collaborative benchmarking and more.
You need to set up the .env
file as shown later and then you can execute docker-compose up --build
to run the service dockered or here you can find information how start the frontend and backend:
In the backend folder do as follows
pip install -r requirements.txt
Copy backend/ddueruemweb/.env.example
to backend/ddueruemweb/.env
cp backend/ddueruemweb/.env.example backend/ddueruemweb/.env
You may need to alter the fields for email and database access, secret key and frontend url.
When you want to execute docker-compose, you need to name the file .env.production
instead of .env
.
You can use python manage.py createsuperuser
or in case of docker-compose docker exec -it ddueruem-web_backend_1 /api/manage.py createsuperuser
The following two commands are summarized makeMigrate
.sh (for linux) or .bat (for windows)
python manage.py makemigrations djangoProject
python manage.py migrate
Run (in a cron job) all hourly/daily/weekly/monthly jobs
python manage.py runjobs hourly
Details, see: django-extensions docu for job scheduling
python manage.py runserver
In the frontend folder execute
yarn install
and then
yarn start