Customize jsapp

I have tried to customize the /#/forms/{form-id}/data/table page, using the following approaches:

  1. Tried to npm build from inside kobodocker_kpi_1 container in /root/kpi directory
  2. Tried to git clone kobotoolbox/kpi.git and use the instructions in file
  3. Tried to run the command in all Dockerfiles from github:
  • kobotoolbox/kobo-docker/blob/master/base_images/base/Dockerfile
  • kobotoolbox/kobo-docker/blob/master/base_images/base-kobos/Dockerfile
  • kobotoolbox/kpi/blob/master/Dockerfile.koboform_base
  • kobotoolbox/kpi/blob/master/Dockerfile

cd /srv/src/kpi

./ migrate
This error is displayed:
ValueError: Cannot quote parameter value <psycopg2._json.Json object at 0x7fc706f2dd50> of type <class ‘psycopg2._json.Json’>

./ runserver
This error is displayed:
You have unapplied migrations; your app may not work properly until they are applied.
Run ‘python migrate’ to apply them.

This error is displayed when accessing the server on port 8000 from the web browser, redirected to: /accounts/login/?next=/
OperationalError at /accounts/login/
no such table: hub_perusersetting

All the above approaches did not work with me.

What are the steps that I should take to have a working development environment, to be able to customize /data/table page?

Forgive me, as I am unable to add enough links (new users are limited to 2 links only).

Thanks for anyone’s help.