wiki:Event/2011/GSoC/WebSetup

Version 7 (modified by anubhav, 10 years ago) ( diff )

--

WEB SETUP NEW ARCHITECTURE

http://www.picamatic.com/show/2011/04/08/04/42/7470362_2272x980.jpg

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.

After this the 000_config is parsed to modified_config and made to run

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

The dict extracted from 000_config is writen to 000_config with the correct values

In the process I am also generating a method for creating new Eden without Netowrk Access

WEB SETUP OLD ARCHITECTURE

http://www.picamatic.com/show/2011/04/08/04/42/7470363_1818x880.png

Note: See TracWiki for help on using the wiki.