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

Can we split the fixtures into system fixtures & demo data? #557

Open
shochdoerfer opened this issue Sep 8, 2023 · 2 comments
Open

Can we split the fixtures into system fixtures & demo data? #557

shochdoerfer opened this issue Sep 8, 2023 · 2 comments

Comments

@shochdoerfer
Copy link
Contributor

Currently, if I recall correctly, the fixtures do not only contain system fixtures (data that is required for Gally to work) but also some sample data.

Would it make sense to split the fixtures and the demo data so I can set up a new "blank" Gally version without the sample product & category data? Currently, I am using a simple script to delete all sample data which works but feels a bit odd to me.

@botisSmile
Copy link
Contributor

To install Gally with required data only (without sample data), you can run the fixture command with production environment make sf c="hautelook:fixtures:load -e prod", and then run command make sf c=gally:user:create (available roles are “ROLE_ADMIN” and “ROLE_CONTRIBUTOR”) to create a new user.

@shochdoerfer
Copy link
Contributor Author

thx! Might be good to add this hint to the install guide.

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