WEB SETUP NEW ARCHITECTURE
Table of Contents
- WEB SETUP NEW ARCHITECTURE
- Workflow And Summary
- There are 2 methods to acivate the WebSetup :
- After this, the file containing the dict of settings and modules in …
- After this the 000_config is parsed to modified_config and made to run
- Then we will generate a login page using the index
- The forms for each setting is displayed
- The dict extracted from 000_config is writen to 000_config with the …
- In the process I am also generating a method for creating new Eden …
- WEB SETUP OLD ARCHITECTURE
Workflow And Summary
There are 2 methods to acivate the WebSetup :
- Going directly to the web setup this will call the selector for the path of the correct Eden . This is extremely important in the case there are more than one Eden . For this database conflicts needs to be resolved and also the
- Either clicking on the Setup on the index page of Eden .In this case selection is not needed as the session variable will be set from the URL post
After this, the file containing the dict of settings and modules in the Eden are copied in The modules of the Web setup and made to run.
- if this is not possible i.e. the file containing the dict is not there then the s3cfg is copied and made to run so that the file containing the dict is made
- please visit (http://eden.sahanafoundation.org/wiki/GSOCWebSetupImplementation#Dictofsettings) for further details
After this the 000_config is parsed to modified_config and made to run
- This will initialize the default values of the dict and postulate the correct syntax of 000_config
- please visit (http://eden.sahanafoundation.org/wiki/GSOCWebSetupImplementation#Parsing000_config.py) for the Algo
Then we will generate a login page using the index
- This will contact the database of the correct Eden to make the admin login if the the setup has been run once (this can be easily idebtified by the 000_config)
- No login page if there is setup is run for the first time
The forms for each setting is displayed
- these forms are generated using index
- there results are postulated using request.post_vars
- please visit (http://eden.sahanafoundation.org/wiki/GSOCWebSetupImplementation#Defindex:) for exact forms
The dict extracted from 000_config is writen to 000_config with the correct values
- This process is done in write_out ()
- Please visit (http://eden.sahanafoundation.org/wiki/GSOCWebSetupImplementation#Defwrite_out:) for the algo
In the process I am also generating a method for creating new Eden without Netowrk Access
WEB SETUP OLD ARCHITECTURE
Last modified
13 years ago
Last modified on 06/23/12 15:10:28
Note:
See TracWiki
for help on using the wiki.