Thanks for answering. This was the problem that I was trying to solve in 
broad terms

On Tuesday, November 27, 2018 at 12:13:18 PM UTC-7, Dave S wrote:
>
>
>
> On Monday, November 26, 2018 at 4:18:59 PM UTC-8, Adonis wrote:
>>
>> Hi, 
>>
>> At one point I had my web2py code on pythonanywhere and everything was 
>> fine. Eventually my domain expired and I deleted the web2py app. The code 
>> was saved and accessible in the web2py directory. When i created a new app, 
>> I had to change the directory to something else because pythonanywhere 
>> required a blank directory. My question is how do I combine these 
>> directories so i can access my old apps or how can i package the code and 
>> upload it into the new web app?
>>
>> I tried changing the pythonanywhere directory but that caused errors
>>
>> Thanks
>>
>
>
> It should be possible to include the old app in the new installation just 
> by copying the [oldweb2py]/applications/oldapp folder to 
> [newweb2py]/applications/oldapp, and restarting the web2py server.  If 
> there is a difference in the web2py release between old and new, you should 
> still be okay, but it's a good idea to compare the files in oldapp/static 
> with those in the welcome app, and take a look at the welcome app's 
> models/db.py for modernization.  If you need the appadmin stuff, then 
> update those files; if you've disabled appadmin, then there's no issue. 
> (Mine's not disabled, but requires ssl port forwarding.)
>
> Skip copying the errors and sessions subdirectories because of pickling 
> changes.  files.
>
> Good luck!
>
> /dps
>
>
>
>

-- 
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