Adds utility scripts for new city deployments and revealing/hiding neighborhoods #3751
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #3748
Adds utility scripts for some of the most common things that I have to do: launching new cities and showing/hiding neighborhoods within a city, and I made a script for each of them. For the latter, I generalized it so that it can be run either locally or on the server since there were a few things to do differently between the two. I also moved all of our db scripts into a new scripts dir to deal with the clutter!
All of the stuff that I automated here was pretty simple to do at this point, having done each of them over a dozen times. And I had really nice documentation for how to do it. It was just a lot of manual copying and pasting, verifying that output was correct, etc., which made it easy to script.
It was easy to do, but there were just enough points where I could do something wrong when copying/pasting that I had to pay very close attention. Using these scripts will certainly speed up these processes in the future, and it should also significantly reduce my stress when doing it! I'm always worried that I missed a step, and am double checking output at multiple points throughout the process, because the mistakes can cascade and get worse. Now I will be able to just run the script, check the output, and move on!
Before/After screenshots (if applicable)
Here's just a quick screenshot of the terminal output when I did a test run of hiding a neighborhood on a test server and then revealing it again. The script prompts me for a bunch of info, then moves forward!
Things to check before submitting the PR