There might be two problems:
- You uploaded the "setup.py" file included in web2py sources tar
ball. Remove it
-You pushed too many things: you only should push your app directory,
not the web2py or applications directory from your local drive.
I.e. git should be available only at myapp in
...web2py/applications/myapp
not in web2py neither in applications dir.

What I usually do is symlinking from git directory to my local web2py
installation:

cd ...web2py/applications/
ln -s ../public_html/applications/myapp .

modify myapp, and then git push from myapp dir.
There is no need to do any deploying later.


Hope this helps.

2012/4/24 Simon Shapiro <[email protected]>:
>
> Hi,
>
> I have followed the instructions on deploying web2py to fluxflex that i
> found here.  My app was copied from local development on the path
> ...web2py/applications/myapp and placed in ../public_html/applications/myapp
> on the local git sandbox-....  Then I ran 'git push' followed by a manual
> deploy.
>
> Once deployed I get a 404 file not found on flexflux, but the application
> was working fine on local development.
>
> I really don't undestamd what is required to take a working web2py app on
> local (under sqlite) and getting into flexflux production.
>
> Please help.  I am desparate  :-(
>
>
>
> Regards
>
>
> Simon

Reply via email to