I am not sure about this trick because I didn't test it. Though, in
web2py/gluon there is this file welcome.w2p... If not there it get
recreated if not there... I don't remember the behavior exactly... But I
think that this app is the one that is used as the template when you create
a new app (which is base on welcome)... So, I think you could just
copy/paste this app install it in web2py and modify it at you convenience
and export you mod app back... I guess you have to name it welcome.w2p it
order to prevent web2py from recreate a new one... My assomption is that if
you put your modified app in place of this one (the one without the bunch
of cruft) you will start from a fresh app environnement with the sane
default that you want without having to remember what to remove every time.
An other option, could be to modified the deployed welcome and delete the
welcome.w2p and I think it will be replaced by a freshly packed welcome app
base on the welcome app include in web2py but that you had modified...
Symlinks can be helpful in order to keep track of differents version of
"customized" default welcome app that you may require.

:)

Richard

On Fri, Nov 20, 2015 at 1:25 PM, pbreit <[email protected]> wrote:

> Thanks.
>
> If I had to rant, I would say that the "out of the box" experience could
> use some improvement. For pretty much all my projects I'd like to start
> with something rather plain but good looking. I don't want my first step to
> be to have to pull out a bunch of cruft.
>
>
>
>
> On Friday, November 20, 2015 at 4:37:17 AM UTC-8, Anthony wrote:
>>
>> If you want to make use of any of the built-in Ajax or Javascript
>> functionality, you should include web2py_ajax.html. If using Bootstrap 3,
>> you might also want to keep at least parts of web2py_bootstrap3.css
>> (particularly the .flash stuff and things prefixed with .web2py). You might
>> also want to include web2py_bootstrap.js (which makes some improvements to
>> menus and dropdowns).
>>
>> Aside from that, it would probably be easier for you to ask specific
>> questions about things you don't understand in the welcome layout.html, or
>> just try to create your own layout and come back with questions when you
>> get stuck.
>>
>> Anthony
>>
>> On Friday, November 20, 2015 at 6:49:15 AM UTC-5, pbreit wrote:
>>>
>>> Is there a simple way to get started with just a very simple
>>> Bootstrap-driven site? I don't want all the cruft that you get in the
>>> Welcome app except for the user drop-down menu in the top right. I'm not
>>> sure what bits in the layout.html I need to keep and which I can get rid of.
>>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> 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/d/optout.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to