Skip to content

Conversation

@pwdel
Copy link
Member

@pwdel pwdel commented Nov 30, 2025

Note, this change was originally here:

#589

However, there was a problem on the /profile page upon installation and attempted hosting on kconfs.com/brierfoxforecast.com for unknown reasons.


From @ntoufoudis


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:

    • -e "Environment"
    • -d "domain"
    • -m "email"
      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.

@pwdel pwdel added bug Something isn't working enhancement New feature or request labels Nov 30, 2025
@pwdel pwdel requested a review from ntoufoudis November 30, 2025 23:11
Copy link
Member Author

@pwdel pwdel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure where, but as mentioned, when attempting to install on brierfoxforecast.com, the profile page would show an error.

Same was true on local installation.

@pwdel pwdel requested a review from astrosnat December 2, 2025 11:17
@pwdel pwdel marked this pull request as draft December 2, 2025 11:17
@astrosnat
Copy link
Collaborator

@pwdel I have a bunch of sales stuff to do this evening, but I can take a look at this tomorrow? Just ping me when you want me to have a look

@pwdel
Copy link
Member Author

pwdel commented Dec 3, 2025

@pwdel I have a bunch of sales stuff to do this evening, but I can take a look at this tomorrow? Just ping me when you want me to have a look

This is in draft, no review required. Waiting for a response from @ntoufoudis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants