Forums

second web app, same folder?

I upgraded my account to allow for multiple web apps, then I created a second one. The base .py file was created in the same "mysite" folder as the first app. Is this normal, or should the two apps be in separate folders or entirely different directories?

Seems strange they could co-exist, especially since one runs on Flask / 2.7, the other one is Bottle / 3.5. I feel the co-mingling of environments and the app files will become a problem. Thanks.

I'd definitely recommend that you use different directories for different web apps. If you haven't done anything with the new one yet, you can just delete it and then create a new one in a different directory -- there's an option to set the directory as part of the web app creation "wizard".

OK great. I missed (or didn't pay attention to) the step where you specify the file & directory for the new app. Thanks.

Just to be clear, the proper structure should be /home/<username>/app1 and /home/<username>/app2 ?

Yes, that's a good structure.