Is it a good idea to prepopulate new installation with some sample questions, sample users?
See original GitHub issueThe 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:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I use: https://www.npmjs.com/package/@cleverbeagle/seeder
Quite easy usage: https://cleverbeagle.com/packages/seeder/usage
Example in action: https://github.com/cleverbeagle/pup/blob/master/imports/startup/server/fixtures.js
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.