mirego / accent

The first developer-oriented translation tool. True asynchronous flow between translators and your team.
https://www.accent.reviews
BSD 3-Clause "New" or "Revised" License
1.31k stars 99 forks source link

Document how to signup/create the first user in production #68

Closed phildionne closed 5 years ago

phildionne commented 5 years ago

For non elixir/phoenix developers (like me!) it's non-obvious how to signup/create the first user in production; it would be great to write a quick section on how to do that.

Also, I'm not sure wether the following behavior is intentional or not, therefore I'm not calling it a bug just yet:

Unable to signup

Reproduce:

  1. Deploy a fresh install on Heroku
  2. Configure the GOOGLE_API_CLIENT_ID and RESTRICTED_DOMAIN env variables
  3. Hit the root domain
  4. Click on Login with Google, select a valid google account

Result

Nothing happens: no error in console, no UI feedback

Expectations

Either:

ps: This looks like a great project, thanks for building and open-sourcing it!

phildionne commented 5 years ago

Well, nevermind this, I just realized that I didn't properly configure the Google OAuth credentials. It is now working like a charm.

simonprev commented 5 years ago

Hi Philippe!

The Nothing happens: no error in console, no UI feedback is often raised here 😢 This is 100% due to a Chrome Extension preventing the flow of the Google login window. I have the same behaviour with my browser and Ghostery. Even when the extension is on "Pause", or is "Trusting" the website.

As for a A classic signup/registration flow, I’m not sure I understand. There is no signup or need to create a user from the console :/

simonprev commented 5 years ago

Oh just saw your comment! Good, I’m glad it worked! 🎉

perteraul commented 5 years ago

hey @phildionne, can you please tell me how did you configure the Oauth credentials? I'm suspecting that my #109 issue is thrown because of the GOOGLE_API_CLIENT_ID that I used.