The script should contain these lines which you can run yourself:

cd /home/www-data/web2py
sudo -u www-data python -c "from gluon.widget import console;
console();"
sudo -u www-data python -c "from gluon.main import save_password;
save_password(raw_input('admin password: '),443)"


On Apr 13, 9:49 pm, mart <[email protected]> wrote:
> hum.... interesting. So, I think it was the latest .sh script (it was
> downloaded), but it didn't ask me for a password... ok, maybe I
> overlooked the question.. so, I should then be able to kill web2py
> (maybe by stopping apache), restarted @ the cmd line using a -a
> option. I'll try it!
>
> Thanks,
> Mart :)
>
> On Apr 13, 10:27 pm, Massimo Di Pierro <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > If you are suing the most recent setup-web2py-ubuntu.sh is should ask
> > you for admin password at the end of the script and admin should be on
> > by default. It only needs that go overhttps://.../admin
>
> > On Apr 13, 7:42 pm, mart <[email protected]> wrote:
>
> > > HI Massimo,
>
> > > I tried that deployement slice last night on 2 Ubuntu machines
> > > (desktop and that laptop version). Worked great!
>
> > > I noticed the certs getting generated (nice Feature BTW!:). Only, one
> > > question. Since it has certs, how can I enable "admin" and start/stop
> > > web2py? I'm thinking i just need to pass it a -a <password> when
> > > launching?
>
> > > Thanks,
> > > mart )

Reply via email to