Create 'admin' user when initialising the app irrespective of application 'mode'.
saurabhshri opened this issue · 2 comments
saurabhshri commented
Currently admin account is created only when initialising app in 'local mode'. Create an admin account when initialising app irrespective of application 'mode'.
Relevant section of code:
Line 52 in 61d78ca
Relevant config :
ccextractor-web/instance/config.py
Line 172 in 61d78ca
T1duS commented
After fixing it, how can I test if it works in public mode? @saurabhshri
saurabhshri commented
@T1duS By running the app in 'public mode'. See: https://github.com/saurabhshri/ccextractor-web/blob/development/docs/installation.adoc#local-vs-public-instance