Skip to content

Web service for sharing feature model instances and collaborative benchmarking.

Notifications You must be signed in to change notification settings

wurstbroteater/ddueruem-web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ddueruem-web

A web service for sharing feature model instances, collaborative benchmarking and more.

Fresh start

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:

Backend

In the backend folder do as follows

Install requirements

pip install -r requirements.txt

Setup backend environment

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.

Create new superuser

You can use python manage.py createsuperuser or in case of docker-compose docker exec -it ddueruem-web_backend_1 /api/manage.py createsuperuser

Migrations

The following two commands are summarized makeMigrate.sh (for linux) or .bat (for windows)

python manage.py makemigrations djangoProject
python manage.py migrate

Start jobs

Run (in a cron job) all hourly/daily/weekly/monthly jobs

python manage.py runjobs hourly

Details, see: django-extensions docu for job scheduling

Start the backend

python manage.py runserver

Frontend

In the frontend folder execute

yarn install

and then

yarn start

About

Web service for sharing feature model instances and collaborative benchmarking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.2%
  • TypeScript 37.6%
  • HTML 7.8%
  • CSS 0.7%
  • Shell 0.4%
  • Dockerfile 0.3%