I was wondering if there is an accepted solution in the case where I want to write an app (a blog, for example) and I would like for there to be only one user. I’ve been looking around SO without much luck (mostly running into questions about one User model).
I think using devise or sorcery would be a bit overkill if I would be creating a User model + table just to store one user. Though I also don’t want to just store my password in plain text in the source code.
I came across soff.es and saw that he was using the environment to set the username and password. Is this a good solution? Are there other ideas?
If you just need some simple auth logic, you can just use HTTP authentication and hardcode your username and password.