Antonio Ladeia
Antonio Ladeia

Reputation: 3

How Initialize web2py with password in terminal

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?

Upvotes: 0

Views: 143

Answers (1)

Himel Das
Himel Das

Reputation: 1218

The -a argument sets the password:

alias w2p="python web2py -p 8000 -a yourpassword"

Upvotes: 0

Related Questions