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

replace 443 with PORT


On Thursday, 2 May 2013 03:37:06 UTC-5, olivier wrote:
>
> Hi,
>
> I'm trying to deploy on Heroku, using gunicorn.
> My Procfile looks like this:
>
>    web: python anyserver.py -s gunicorn -i 0.0.0.0 -p $PORT
>
> Everything works well, but I can not access the admin app, because no 
> password is set.
> Does anyone know how I can set an admin password?
>
> Thanks a lot!
>
> Olivier
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to