-
-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow creation of first user from UI? #149
Comments
Yes, this comes back to something I've wanted to do for a while which is a proper onboarding flow - setting up the first user, database url, and adding the first repo. |
Hmmm database url? So setting an ENV variable? or writing to a config file? On Fri, Jul 26, 2013 at 11:32 AM, Peter Braden notifications@github.comwrote:
|
I envisage something like the web-based wizard you get on a vanilla WordPress install. We'd have a flow for:
I actually had an app which would do this, but it was for an older version of Strider (back when we had a config file). All you had to do was enter your Heroku API key and it could fully install & configure a Strider instance for you: |
Right; wordpress uses a file to store config. And I think that would be totally appropriate for us too; there will be a I think STRIDER_CONFIG_FILE could be in env, defaulting to something On Fri, Jul 26, 2013 at 1:10 PM, niallo notifications@github.com wrote:
|
Yeah, we should have an environment variable and a |
Sounds great. So what format do we like best? javascript? or json/yaml? On Fri, Jul 26, 2013 at 5:08 PM, niallo notifications@github.com wrote:
|
Problem with json is it doesn't allow comments unfortunately. Not the biggest fan of yaml but it might be the right choice here. Sent from my iPhone On Jul 26, 2013, at 8:35 PM, Jared Forsyth notifications@github.com wrote:
|
Json for sure Sent from my iPhone On Jul 26, 2013, at 8:35 PM, Jared Forsyth notifications@github.com wrote:
|
What about using something like json-minify? On Fri, Jul 26, 2013 at 9:39 PM, Peter Braden notifications@github.comwrote:
|
+1 Sent from my iPhone On Jul 26, 2013, at 8:49 PM, Jared Forsyth notifications@github.com wrote:
|
+2 |
node-config with json5 |
To make things even easier, perhaps we could show a "create admin user" screen -- if there are zero users in the database (which would only be the very first time it's run).
The text was updated successfully, but these errors were encountered: