Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is it a good idea to prepopulate new installation with some sample questions, sample users?

See original GitHub issue

The other day I’ve cloned the repository… I’ve created the account and realized:

  • there are very cool screenshots in the whitepaper
  • when starting on the platform everything is fresh
  • can we provide a default demo/demo credentials, can we pre-populate the system with a few a sample proposals for easier testing?

I’m worried about security considerations, even if the password is changeme some people won’t… That’s the downside of default credentials. Also the pre-populated database could be problematic in terms of security, maintenance.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

domi41commented, Apr 8, 2018

Hello @stefek99 !

This is a legitimate question, and a practice often seen on distributed applications. The keyword here is fixtures. We aim to provide a command line that will populate the database with such fixtures for easier testing. But to do that, and to be able to maintain them sanely, we need some more architecture (see #220).

In regard to the security issues raised by such practice, well… A good solution is to generate random passwords for the dummy users and ask for a username and password during the installation of the fixtures.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it good practice to pre-populate a web app with sample data?
Using the blank slate as a tutorial seems like a really good idea. ... On installation it asks if you want demo data...
Read more >
MGMT 333 Chapter 12 Flashcards - Quizlet
When designing mobile sites, it's a good idea to prepopulate forms and use autofill as much as possible. Select one: True False. True....
Read more >
How to Prepopulate the Same Form with Data from a Previous ...
Note This guide is for prepopulating a form with the same data previously entered, right after submission. For prepopulating the form with.
Read more >
Can I pre-populate typeforms? - Help Center
You can pre-populate typeform questions or statements (but not answer text) with some data using Hidden Fields, which you can find out about...
Read more >
Understand pre-populated form fields - Knowledge Base
HubSpot will only pre-populate data previously submitted to a HubSpot form on the same device. For example, if you submit your phone number ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found