Incubator-superset: Copy one of superset.db to the other

Created on 14 Nov 2019  路  5Comments  路  Source: apache/incubator-superset

I am going to create two environments for testing and deploying, and copy one of superset.db to the other, will it work fine and is there any problem? thanks.

Most helpful comment

Issue-Label Bot is automatically applying the label #question to this issue, with a confidence of 0.85. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 5 comments

Issue-Label Bot is automatically applying the label #question to this issue, with a confidence of 0.85. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Have not tested it, but I think it should work as long as you keep the same SECRET_KEY on both environments (not very recommended). Note that sqlite should not be used on a production environment

@vliweihan this is not in any way a secure setup. Your test database and your production database should not share a secret key. I would advise strongly against this course of action.

@vliweihan this is not in any way a secure setup. Your test database and your production database should not share a secret key. I would advise strongly against this course of action.

@willbarrett @dpgaspar I get it. thank you for your advice.

Closing, feel free to reopen if you need any further assistance with this

Was this page helpful?
0 / 5 - 0 ratings