Open libertysoft3 opened 5 years ago
This can be the start of the user-friendly Saidit installer. You know, for the decentralisation.
(I think this is a good first issue; that label might be useful if you concur.)
@wizzwizz4 Thanks man, I was totally misunderstanding "good first issue". Agreed.
Running the sample data installer
is currently the only way you can have an admin user created, automoderator user created, the default_sr created, etc.
Fix is to create a slimmer version of
inject_test_data()
called something likeinject_default_data()
that just does the bare minimum, the first 9 lines. Then update the README installation instructions to say call one of these. Or split the function entirely and calling inject_test_data() after you have already called inject_default_data() is optional.This is for production paths where people don't want a bunch of sample users and sample posts.