Closed jddanna closed 3 years ago
'pip install python-dotenv' on the virtual environment on the server?
@jddanna can you add this to requirements.txt file? We should keep these our dependencies updated in requirements.txt file. Also don't forget to pin the version.
…o Remember to install the new dependency on requirements on the virtual environment on the server (https://github.com/Murali-group/GraphSpace/pull/441#issuecomment-775213819). Also deleted scripts because the one script is no longer needed.
Purpose
Used python dot environment instead of linux environment variables to load up local environment variables. Requires a .env file.
Example: Fixes #439 Uses a local .env file that is not committed by the branch
Approach
If maintenance needs to be scheduled on the server, you just need to change the values on the file. A script could be used to alter the file but the amount of work would be similar.