see
https://github.com/GrandComicsDatabase/gcd-django-docker
If doing development work on the code for editing, note that right now
you cannot edit existing data, since we do not export the change history
in the dump. But, you can add new data (with dexter_1234), approve it
(with editor), and then edit the newly added data.
We intend to add changesets for all the existing data to allow their
editing in this development setup. As of now we support this for some
object types. For that call:
export DJANGO_SETTINGS_MODULE=settings
export PYTHONPATH=gcd-django
python setup_initial_changesets.py
Doing this for all objects will take some time, so we limit it in the
code to the first 500 IDs per object class. You can comment out objects
that for now do not need to be edited in your dev environment, or change
the limit, by editing the python-file.
To allow approvals to work, the statistics need to exist, for that run
the following:
docker-compose run web python gcd-django/manage.py runscript reset_stats
Am 03.06.26 um 22:26 schrieb Hunter Johnson:
> Newly set up with the dev environment. I think this might be the fix for
> Bug 812: issue counts when variants are in different series · Issue #235
> · GrandComicsDatabase/gcd-django <
https://github.com/
> GrandComicsDatabase/gcd-django/issues/235> :
>
>
https://github.com/GrandComicsDatabase/gcd-django/compare/
> beta...jhunterjActual:fix-cross-series-variants?expand=1
>
> but I think the problem only shows up on newly moved variants before the
> nightly processing?
>
> I was trying to test the current codebase but I cannot figure out how to
> move a variant to another series on my local instance of GCD
>
> DoesNotExist at /issue/2111640/reserve/IssueRevision matching query does
> not exist.
>
> or how to approve an issue once I've added it
>
> DoesNotExist at /changeset/3/process/CountStats matching query does not
> exist.
>
> with the original code. As stated at the beginning, newbie on GCD dev
> environment. Am I missing something simple?
>
> --
> You received this message because you are subscribed to the Google
> Groups "gcd-tech" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
gcd-tech+u...@googlegroups.com <mailto:
gcd-
>
tech+uns...@googlegroups.com>.
> To view this discussion visit
https://groups.google.com/d/msgid/gcd-
> tech/05322c95-775e-4fde-9a09-f588067322bcn%
40googlegroups.com <https://
>
groups.google.com/d/msgid/gcd-tech/05322c95-775e-4fde-9a09-
> f588067322bcn%
40googlegroups.com?utm_medium=email&utm_source=footer>.