-
Notifications
You must be signed in to change notification settings - Fork 162
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
Remove .env file from .gitignore to ease installation & setup #278
Comments
It wouldn't be advisable to allow committing .env files all the time. |
I'd like to take this! I kind of agree with @jagzviruz. social: {
// we could just remove everything before and including the ||
FB_URL: process.env.REACT_APP_FACEBOOK_URL || 'https://www.facebook.com/codingcoachio/',
INSTA_URL: process.env.REACT_APP_INSTA_URL || 'https://www.instagram.com/codingcoach_io/',
TWITTER_URL: process.env.REACT_APP_TWITTER_URL || 'https://twitter.com/codingcoach_io',
GITHUB_URL: process.env.REACT_APP_GITHUB_URL || 'https://github.com/Coding-Coach/coding-coach',
}, For the remaining variable ( |
@emmawedekind I wouldn't recommend that, is only a one time thing and is well documented in the readme. Later one we are going to have the facebook app id and other values to support oauth, those values will depend on the instance the app is running, staging, production, local. @trent-boyd yes, we only have a couple things that are unlikely to change and probably we can just define them right in the config file. |
In the interest of saving some time and headaches, I think we should chat about this for a bit before we start any work. What are the arguments against having a
And those values would be configured directly on the build/deploy tool, correct? Note that I don't have much |
That's correct, not sure if having the
Same here, I usually configure webpack from scratch xD |
You and me both, bud. Lots of people hate it, but I kinda like it. :) |
Thought I'd leave a reference to facebook/create-react-app#2403 as it seems relevant to this discussion, where Dan Abramov supports committing |
@crysfel did we come to an agreement? |
@emmawedekind no hehehehe but... in order to help people get up and running easier (In case they didn't follow the README) let's commit the This issue is open for anyone to take, it's quite simple, just remove the |
If trent-boyd is not taking this one, may I take? |
@becoming-software-engineer: I've got some other tickets to work, so feel free to take this. :) |
Thanks, @trent-boyd. |
@becoming-software-engineer all yours! I can't officially assign it to you until you ask access to the organization, please ask to be added in slack (#front-end-gh-access channel). You can start working on this now, then once added to the org I will officially assign it to you. Thanks! |
I already invited you @becoming-software-engineer, you have to accept the invite :) |
Currently after cloning, users have to remove the
.example
extension from the.env
file. This is annoying. Let's just remove.env
from the.gitignore
.The text was updated successfully, but these errors were encountered: