Skip to content

Latest commit

 

History

History
57 lines (35 loc) · 1.48 KB

README.md

File metadata and controls

57 lines (35 loc) · 1.48 KB

wps-repository-configurator

Target

This is an django admin interface to build json configuration files that can work with

https://github.com/riesgos/gfz-command-line-tool-repository

Some of the example files can be found here:

A more explicit definition of the format can be found here.

How to start

You can use docker-compose to start the project:

docker-compose build
docker-compose up

To create a super user you must run:

docker exec -ti wps-repository-configurator bash 

and then inside the container:

cd project
python3 manage.py createsuperuser

With that you can open http://localhost:8000/admin and log in.

Admin interface

The admin interface to build the json files via a UI. Click on the + Add button for the processes to create one.

Export the files

When you are in the overview page of the processes, you can click on the json link to open a process configuration in the json format.

You can also select one or more configurations in the list & use the Export json to folder action.

By default it will put the json files in the configurations subfolder of the project.