Conversation
Collaborator
|
tested on dev and localhost, looks good to me |
Member
|
@ntoufoudis sorry for the delay. I tested on brierfoxforecast.com manually using your branch, which you can find under socialpredict-deploy if you log in to the digital ocean droplet. When logging in as user Not sure if this is an application error or due to the new installation. Other than that, it works on demo/stage. Need to test locally still. |
Member
|
Ok on local (MacOS) tried this and got an error. Note that: |
Member
pwdel
approved these changes
Nov 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

What changed:
Running ./SocialPredict without any command, or with an invalid command, will print some basic help message.
Running any valid ./SocialPredict command except install, will check if the .env file is present. If it is not, it will advise to run ./SocialPredict install to initialize the app and then exit.
Running ./SocialPredict install, will force user to perform a clean install. That means it will ask to re-create the .env file, and remove the db files. If user denies any of the above, the script will fail.
The ./SocialPredict install command now accepts some arguments:
For -e acceptable values are development, localhost, production. Running the script with the above arguments, will force re-creation of .env and db files, and is only meant to be used by the ansible deployment procedures. It is not safe for usage by end user.
There has been a lot of refactoring and clean up in the scripts regarding the installation procedure.