Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example site data #291

Open
dopry opened this issue Jan 5, 2023 · 2 comments
Open

example site data #291

dopry opened this issue Jan 5, 2023 · 2 comments

Comments

@dopry
Copy link
Collaborator

dopry commented Jan 5, 2023

I'd really love to be able to setup the example site and got to the graphiql interface to poke around. currently there isn't any data in it. It would be nice if we had something more full featured like the bakery demo to use for the example site.

@zerolab
Copy link
Member

zerolab commented Jan 5, 2023

we could do this 2 ways:

  1. fixtures, as bakerydemo does it
  2. create a scaffolding script

Note that with #289 I am aiming to re-organise things a bit in terms of repo structure, the main change being example -> tests/testapp

We used to provide some data via a bundled sqlite db, but that would get stale fairly quickly especially when testing with different Wagtail versions locally

@dopry
Copy link
Collaborator Author

dopry commented Jan 7, 2023

I feel like fixtures would be a good approach. We're not going to be making major content changes and they're relatively easy to maintain with some caveats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants