0

I need create a terminal alias for inicialize web2py, but I dont see how initialize the web2py with password parameter. I edit the "~/.bashrc" like this:

alias w2p="python web2py -p 8000"

And I need put the password here too.

Exists some parameter for this ou another way?

  • possible duplicate of [How to provide password to a command that prompts for one in bash?](http://stackoverflow.com/questions/4857702/how-to-provide-password-to-a-command-that-prompts-for-one-in-bash) – Tobia Tesan Apr 25 '15 at 09:43

1 Answers1

0

The -a argument sets the password:

alias w2p="python web2py -p 8000 -a yourpassword"
Himel Das
  • 1,148
  • 10
  • 13