-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Create default settings file, and ignore used file #238
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
base: master
Are you sure you want to change the base?
Conversation
This changes the settings file name, and adds an entry to gitignore to ignore the used file name. This will avoid any issues pulling updates to a live environment with a modified settings file.
|
That's actually not a bad idea. I'll merge this with the next major release (I need to update the video tutorial) |
Sounds good! You may want to consider merging the ./backend/getIP_ipInfo_apikey.php file with it as well, and any other similar files. I'm sure people run into the same issue if they utilize that too. |
|
Yes, I was thinking the same thing |
|
Seeing as there are conflicts here, has this been merged? |
|
@flying-sausages No, but this concept will certainly be included in the next release. I was planning it for 2020 but I've had too many things to do so I haven't done any real work on LS in a while. |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
Any update? 😁 |
@Dubz Could you review your changes please? You have to rebase your PR on the |
Doesn't appear as though they are included. The It's very standard to provide an example settings file along with instructions on how users can create their own. Making that file in the repo causes conflict any time anyone goes to update their install as they'll have to recreate that file every single time. It's not good practice to do. While this PR likely won't fit right with all of the changes, it should provide plenty of example on how this can be achieved. |
|
I reviewed your changes again and now I understand your intention better. |
This changes the settings file name, and adds an entry to gitignore to ignore the used file name.
This will avoid any issues pulling updates to a live environment with a modified settings file.