hi,
webfaction will use your admin password for web2py admin password by
default if you install it by auto-script. its ricsky.
to set password , you have login via SSH, run web2py as python script,
it will ask you password, when you done, stop and kill web2py process,
a new file : parameters_portnumber.py , etc. parameters_1234.py which
12345 port is webfaction gave you when create a new app , but web2py
wont work, alway say can access password or...blabla, to solve it,
rename its name:
parameters_1234.py--> parameters_80.py
and check your apache thread worker via SSH, and test from your brow.
default web2py app folder in webfaction will look like this:
web2py-->
-apache2
-htdocs
-web2py
check your apache thread worker memory usage via SSH to know how much
it eats, should re-config apache, if not webffaction will kill your
apache worker and issue email "memory exceed your plan...." when run
web2py. if u need re-config apache, i will paste it here for you.
Regards
On Thu, Jul 5, 2012 at 7:42 AM, monotasker <[email protected]> wrote:
> Do you know how to set the admin password? I tried entering my webfaction
> dashboard password but it didn't work.
>
> Ian
>
>
> On Wednesday, July 4, 2012 11:42:24 AM UTC-4, kokoyo wrote:
>>
>> hi, i have been using webfaction, you can do these step to get w2py admin:
>> on the left menu: Domains/Website
>>
>> 1. -->Domains-->Add new domain: domain.com (you did)
>> 2. -->Applications-->Add new application: web2py (you did:
>> install web2py)
>> 3. -->Websites--->Click the (+) at bottom-right to create a new Website
>> with:
>> Name:*: web2py
>> Https:* un-check
>> Subdomains:* domain.com
>> Site apps:--->app: web2py (got this name at Step 2)
>> URL path (ex: '/' or '/blog'):* / (you
>> did)
>>
>> 4. Repeat Step 3 with:
>> Name:*: web2py_admin
>> Https:* checked
>> Subdomains:* domain.com
>> Site apps:--->app: web2py (got this name at Step 2) URL
>> path (ex: '/' or '/blog'):* /
>>
>>
>> you have lacked of step 4 only,
>> to login to admin page: https://domain.com/admin
>>
>> Regards
>>
>> On Tue, Jul 3, 2012 at 1:46 PM, Annet wrote:
>> > Hi,
>> >
>> > This post might answer your question:
>> >
>> >
>> > https://groups.google.com/forum/?fromgroups#!searchin/web2py/annet$20webfaction/web2py/o9We_wV3eNc/0dS3ci6nFOAJ
>> >
>> >
>> > Kind regards,
>> >
>> > Annet