On our marketing site, we will have a link to a demo account, something like demo.officelife.io.
The demo account has always the latest release of the app.
This account should be automatically populated with fake data provided by the SetupDummyAccount
command, so potential customers and users see the potential of the application.
- Demo data should be reset every 5 minutes (so data always look accurate, and people won’t put too much crap in it)
- Demo should be accessible with the
[email protected]
account
Because the SetupDummyAccount
takes a lot of time to run, we should have a SQL dump of the data this script generates, and use this dump to populate the database.
Because this account will be a "special" account, we should have some limitations in it:
- we shoudn't authorize uploading files
- we should not send email at all
- no payment info should be indicated in the app at all.
- we should have a special banner at the top of the account saying "it’s a demo account".
To do this, we should have a new variable in .env
that lets us control this.