Yes, this is how the structure should look like, but it seems 
pythonanywhere doesn't allow me to setup the structure this way.

If I try to use this path to install a new app: 
/home/username/web2py/applications


I get this pythonanywhere error msg during the process:
Enter the path for a new directory to contain the web2py code
failed to remove ‘/home/my_user_name/web2py/applications’: Directory not 
empty


This has been my problem from the begging. Because of this error, the only 
way pythonanywhere allows me to install a new app is to create an new, 
empty directory first here:
/home/username/web2py/applications


So, that's how I end up with this problem:
/home/username/web2py/applications/new_directory/applications/init






On Thursday, November 2, 2017 at 11:20:41 PM UTC+8, Anthony wrote:
>
> On Thursday, November 2, 2017 at 5:54:41 AM UTC-4, Joe wrote:
>>
>> In pythonanywhere you have to create a folder first before you install 
>> the app.
>> So you mean, it should be* /web2py/applications/my_app_directory/init*
>>
>
> No -- the folder structure is:
>
> /web2py
>     /applications
>         /init
>
> Same on Pythonanywhere as on any other system. Below is a screenshot of 
> the folder structure of this test app: http://w2ptest.pythonanywhere.com/.
>
>
> <https://lh3.googleusercontent.com/-nLlGiLjTHWw/Wfs3lIKjI8I/AAAAAAAAScU/RvxD39MVx_MReybRWSZXjZ2oum03YDCDQCLcBGAs/s1600/pythonanywhere_files.png>
> Anthony
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to