Skip to content

Substitue emoncms_datadir in settings.ini file. #42

Closed
@borpin

Description

Currently the datadir is hard coded into the emonpi.settings.ini so takes no account of a setting in the install/config.ini

Use $emoncms_datadir in the same way as the other directories are used.

sed -i "s~EMONCMS_DIR~$emoncms_dir~" $emoncms_www/settings.ini

This should be done here:

for engine in "phpfina" "phpfiwa" "phptimeseries"; do

If only 2 folders are to be referenced in the settings.ini then consideration should be made as to whether they are created. As the recommendation is not to use phpfiwa on an EmonPi, I suggest that phpfiwa should not be created.

Could there be an engine selection process as part of the install?

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions