Thank you once more,

My goal with this topic was to more to know if you are interested on
something in web2py...
These operations integrated with web2py, so that

(e.g.) you could do web2py.py uninstall MyApp
instead of:
>>> from gluon.admin import app_pack: print app_pack('myapp',request)
> uninstall application

I would gladly do patch for this.

On Nov 9, 6:40 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Many things you can already do:
>
> On Nov 9, 11:40 am, blackthorne <francisco....@gmail.com> wrote:
>
> > I think it would be important to have it all, but at least...
> > generate model
> > sync model
> > create application (skeleton)
>
> mkdir applications/myapp
> cp -r applications/welcome/* application/myapp
>
> > install packet application
>
> mkdir applications/myapp
> cp applications/myapp
> tar zxvf web2py.app.myapp.w2p
>
> > compile application
>
> web2py.py -S admin
>
> >>> from gluon.admin import app_compile: app_compile('myapp',request)
> > pack application
>
> web2py.py -S admin
>
> >>> from gluon.admin import app_pack: print app_pack('myapp',request)
> > uninstall application
>
> rm -r applications/myapp
>
> > update language files
>
> web2py.py -S admin
>
> >>> from gluon.languages import update_all_languages; 
> >>> update_all_languages('applications/myapp')
> > change admin password
>
> python -c "from gluon.main import save_password;
> save_password(raw_input('admin password: '),80)"
>
> > upload (from url) & install packed application
>
> mkdir applications/myapp
> cp applications/myapp
> wgethttp://..../web2py.app.myapp.w2p
> tar zxvf web2py.app.myapp.w2p
>
> > Secondary stuff
> > ----------------------
> > search applications from Online Application Repository
> > deploy on gae
>
> cd ..
> appcfg.py web2py
>
>
>
> > wizard in command-line
>
> > ------
> > search applications from Online Application Repository
> > install apps
> > deploy on gae
> > wizard in command-line
>
> > On Nov 9, 1:35 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > What operations specifically do you want to do in shell mode?
>
> > > On Nov 9, 7:20 am, blackthorne <francisco....@gmail.com> wrote:
>
> > > > Well, shell mode is not quite what I was looking for but thank you.
> > > > Many of us, prefer to use a common IDE such as Netbeans or Emacs or
> > > > Wing, or even an OS like Emacs. The command-line is a first class tool
> > > > for developers and it is great to integrate with my IDE or bash
> > > > script.
> > > > It would be nice to be able to issue commands that I could use with my
> > > > IDE, or bash script.
>
> > > > This is relevant. Many people using other frameworks vibrate just to
> > > > think about web frameworks without this interface.
>
> > > > Thank you
> > > > Best regards
>
> > > > On Nov 9, 12:24 pm, Bruno Rocha <rochacbr...@gmail.com> wrote:
>
> > > > > You can use from the command line
>
> > > > > -S Run in shell mode
> > > > > appname connect with an app
> > > > > -M execute the app models
>
> > > > > $python web2py.py -S appname -M
>
> > > > > to generate SQL code you have to use _ before DAL methods such as:
>
> > > > > db(...)_select()
>
> > > > > 2010/11/9 blackthorne <francisco....@gmail.com>
>
> > > > > > Is there a way so that I can use all web2py operations, such as
> > > > > > generating the SQL code from the model definition from the command-
> > > > > > line or is the web interface our only option?
>
> > > > > > Thank you
> > > > > > Best regards
>
> > > > > --
>
> > > > >http://rochacbruno.com.br

Reply via email to