Populating Demo Content

Hello,

We created a development environment. We checked the public demo. The demo data is well populated and looks nice. Seeds.rb doesn’t look like a real environment enough.

It might be good to see the same data as the demo after running seed.rb. @kwatson If you can share the demo database as dump, we can convert it to Ruby code for seed.rb.

Hi,

The data you see in our demo installation is generated automatically by all new installations when using our ansible provisioner.

See: roles/controller/templates/bootstrap.rake · master · CS Public / Operations / ansible-install · GitLab

If you don’t see that in the vagrant image, then it’s likely that is not being run. You can manually trigger just the part that installs our default images & products with:

bundle exec rake install

You can see what that does here: lib/tasks/install.rake · main · CS Public / platform / controller · GitLab

1 Like