Automatic instance setup based on config variables (fixes #404) #26
Loading…
Reference in New Issue
No description provided.
Delete Branch "nutomic/lemmy:auto-setup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I decided to use this approach because it just seems easier.
Looks good besides that one thing.
@ -2,0 +7,4 @@
admin_password: "lemmy"
# name of the site (can be changed later)
site_name: "Lemmy Test"
}
We should comment out this section too. I want the standard docker install to let admins pick their own usernames and site name through the web interface.
@ -284,1 +309,4 @@
Some(SiteView::read(&conn)?)
} else {
None
};
Nice, looks great.
Updated.
@ -45,0 +50,4 @@
# # name of the site (can be changed later)
# site_name: "Lemmy Test"
# }
# # optional: email sending configuration
There's still a setup section at the top of the file, its in here twice now.
It looks fine in the diff. Maybe its cause you pulled this before I did a force push? Then your local version might be wrong.
Hrm yeah that was weird. force push generally messes things up, bc it didn't have a correct diff, so it had two sections. I deleted the branch and repulled it and it looks good.
Will try to avoid it then. But in that case, please squash my changes before merging when they are messy (or just use the squash + merge button on here).
@ -2,0 +9,4 @@
# admin_email: ""
# # name of the site (can be changed later)
# site_name: ""
# }
This one looks okay.