actually is a rather easy piece of code... in gluon/widget.py
create_welcome_w2p() is called.
this is defined in gluon/fileutils.py
if not os.path.exists('welcome.w2p') or os.path.exists('NEWINSTALL'):
try:
w2p_pack('welcome.w2p', 'applications/welcome')
os.unlink('NEWINSTALL')
logging.info("New installation: created welcome.w2p file")
except:
logging.error("New installation error: unable to create
welcome.w2p file")
So, to make sure that your apps are always "derived" by the welcome app,
you have either to:
- delete the welcome.w2p file
- create the NEWINSTALL file
and then start web2py to recreate the scaffolding "archive" that gets used.
Unfortunately when you sync a remote with a local dir if you removed a file
in the local dir it doesn't get recreated unless you checkout it manually.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.