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

demo.tramline.app - Notes #762

Open
4 tasks
kolharsam opened this issue Feb 26, 2025 · 3 comments · Fixed by #767 or #771
Open
4 tasks

demo.tramline.app - Notes #762

kolharsam opened this issue Feb 26, 2025 · 3 comments · Fixed by #767 or #771
Assignees

Comments

@kolharsam
Copy link
Contributor

kolharsam commented Feb 26, 2025

Context

Currently to help potential customers try out tramline, a throwaway "viewer" account via the rake task create_external_viewer Link. Some data from the staging / production environment(s) is then anonymized and seeded for this new "viewer" account and given to the customer to try out.

Potential Issues with the current approach

There are multiple reasons to why this is not an ideal approach to help new and potential customers to try the platform. I'm listing some down below:

  • Since this is done on the staging environment, this doesn't yield a very professional appearance to Tramline as we approach new prospects.
  • The whole process of
    • creating a new viewer account
    • anonymizing data
    • seeding the newly anonymized data
      is pretty annoying and time consuming. Since we also risk the data becoming stale and unusable after a certain point
  • Seeding data from either staging or production environments is invasive and expensive.

Hence having a dedicated demo will help alleviate these issues and also

  • reduce the potential feedback loop while selling tramline to potential customers
  • eliminate the need to anonymize data from either staging | production environments
  • cutdown the potential sales time for Tramline
  • keep the data on the demo fresh and easy to get most information and context out of trying the app

Steps involved to resolve this ticket

  • Understand the data model of current version of tramline
  • Figure out a way to easily anonymize data (without the need of existing data on production | staging)
  • Create a new render environment for demo
  • Disable certain actions (e.g: make a release) on the new demo site

Other notes

WIP


@kolharsam
Copy link
Contributor Author

@kolharsam
Copy link
Contributor Author

kolharsam commented Feb 26, 2025

Other notes and links:

@kitallis
Copy link
Member

kitallis commented Feb 27, 2025

Old seed script that is much simpler: https://github.com/simpledotorg/simple-server/blob/a9caebff67d748ae1535097ca145744f862725de/app/jobs/seed_user_data_job.rb

seeder
-- model_seeder/
    - model_seeder.rb
    - model_seeder.toml
-- <model>_seeder.rb (builder config)
-- config.rb
-- top_level_config.toml

Strategies

  • dev_starter
  • mock_data

Sizing

  • small
  • medium
  • large

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