Now that installation gets more easier with Docker, why don’t we get it even more easier with a GUI utility to create the very first admin right from your browser?
I enjoyed few types and 5 mins installation with Docker over DigitalOcean, but I still have to do some Ruby in cli:
u = User.first u.admin = true u.save
We could make an admin creation page available (e.g /add-first-admin) provided there are zero admins in the database, OR even simpler /make-first-user-admin which will be only available and will execute only if there are zero admins in database.
Another possibility is to have “administrator” checkbox when registering the very first user in a standard registration form.
Anyway, there are different possibilities, why not to make such a micro GUI tool to avoid questions like this. Personally I’d be happy to use one.
Btw, this makes setting up SSH to Docker-based installation unnecessary, which complements Update button in administration GUI. This is good especially to decrease the setup time - i.e. time period between you buy your VPS and open your forum in web browser.
Hope it makes sense. Would be happy to read your thoughts about it.