idvoretskyi / horizon-cloud

An operations service to deploy, manage, and scale Horizon apps
0 stars 0 forks source link

First-run wizard #119

Open encryptio opened 8 years ago

encryptio commented 8 years ago

A bare hzc-client deploy will currently just error out with an authorization error if the user is brand new. We should instead make a first-run wizard for new users, something similar to what surge does. now also has a first-run wizard, but it only handles user creation, not project creation (the details of which come from package.json in their case.)

I think a first-run wizard walking you through account creation (optional, check ssh keys first) and project configuration (optional, check cloudconf first) would be super nice, and we can persist the data in .hz/cloudconf.toml to make further deploys trivial.

encryptio commented 8 years ago

As mentioned in #8, during project creation, we should give a usable random wordy subdomain name as the default during the subdomain prompt. Thus, they can just press enter if they don't want to think about it, or they can set a name they like immediately.

Some tricky edge cases to watch out for:

encryptio commented 8 years ago

Moving to devpreview; I think first impressions will be colored badly if we don't have this in our first preview release.

mlucy commented 8 years ago

The CLI part of this is mostly done. Once the web UI is written we should add these features: