Many things you can already do:
On Nov 9, 11:40 am, blackthorne <[email protected]> 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
wget http://..../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 <[email protected]> wrote:
>
> > What operations specifically do you want to do in shell mode?
>
> > On Nov 9, 7:20 am, blackthorne <[email protected]> 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 <[email protected]> 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 <[email protected]>
>
> > > > > 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
>
>