Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

ease the setup #170

Open
afeld opened this issue Apr 30, 2016 · 5 comments
Open

ease the setup #170

afeld opened this issue Apr 30, 2016 · 5 comments

Comments

@afeld
Copy link
Contributor

afeld commented Apr 30, 2016

Hey team-
Having had used this project in a couple of open source workshops thus far, I've watched a bunch of people hit a lot of hurdles when trying to set up the app locally. In particular, setting up the MyUSA application and the Slack token are a bit of a nuisance. I was wondering: thoughts about feature-flagging those connections, where in development it could just post to the console or something, and have the user automatically logged in as a dummy admin user? Just thinking it could get people up and running a lot faster. Thoughts?

@jessieay
Copy link
Contributor

I like that idea! MyUSA setup is super annoying. anything to make setup easier would be fine for me! only consideration is that we should make sure we are still able to test auth functionality locally if we'd like (perhaps some type of env var to switch on)

@jessieay
Copy link
Contributor

@afeld we are now using GitHub auth! I also updated the docs with instructions on how to set up auth: https://github.com/18F/dolores-landingham-bot/blob/master/CONTRIBUTING.md#authentication

What do you think?

@afeld
Copy link
Contributor Author

afeld commented Jul 27, 2016

Definitely better, though having watched people go through setup a couple times, taking out the auth setup step altogether would be a big friction-remover for contributing.

@afeld
Copy link
Contributor Author

afeld commented Jul 27, 2016

Sorry, by "take out" I mean "make feature-flaggable for development".

@afeld
Copy link
Contributor Author

afeld commented Aug 28, 2016

I'm thinking something like the following:

[email protected] foreman start

which would find or create that user and bypass OAuth.

ChrisCPO added a commit to ChrisCPO/dolores-landingham-slack-bot that referenced this issue Aug 28, 2016
* allows a local developer to log-in;
* bypasses oauth
* see .sample.env
* set developer email
* set skip_team_check to 'true'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants