Skip to content

Where does Frepple execute export process? #509

Answered by jdetaeye
maxware0715 asked this question in Q&A
Discussion options

You must be logged in to vote

I guess the functions are defined in: frepple/freppledb/output/commands.py

Correct.

Then I get stuck and can't find where execute these classes.
Hope to know which file responses for execution.

It's structured as follows:

  • The command line to run the planning algorithm is "frepple freppledb/common/commands.py". The c++ planning engine will execute this python script with its embedded python interpretter.
  • The /freppledb/common/commands.py script goes through the commands.py of all installed apps (configured in /etc/frepple/djangosettings with INSTALLED_APPS setting). The commands.py files register actions to be executed.
  • Next, the planning engine executes all of the registered actions.…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@maxware0715
Comment options

Answer selected by maxware0715
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants