I have a domain registered with site5.
I am moving over my application from php to bottle.py in Python. Please provide some information on how to do this:
Is this post relevant:
I hope this reply finds you well!
You should be able to use bottle.py without issues on all of our services.
As for the Flask article you linked, it is similar, however there are some big differences from my understanding. Google may be helpful when it comes to the major differences between the two.
If you have any other questions, please feel free to leave a comment here. You can also contact our support department directly by opening a ticket though Backstage or by email us directly at email@example.com
My question was not to compare flask vs bottle but more on how to setup a simple service running bottle on site5.
For example, on my localbox I can startup a simple application using:
from bottle import run
return “Hello World!”
Will something like this work on site5? What additional steps do I need to set it up so that all traffic to my website (www.mayankag.com) goes through the python app?
Do you have a writeup for this.
Hello again Mayank,
I apologize about the misunderstanding.
I am currently unsure on the technical aspects of bottle, however I am researching it and I am working on an article on how to install Bottle. I should have it up on our KnowledgeBase in the next day or two.
Once the article is up, I will reply back here with a direct link to it for your convenience.
Any update on this Joliver?
I would really appreciate if you could publish the document today. I want to deploy my website today or over the weekend.
thanks a lot in advance!
I apologize for the delay in getting back with you.
The article has been completed and can be found at the following link…
Hope it helps!
This is sincerely appreciated. Thanks!
I have a couple of follow up questions regarding the tutorial but I will ask them on the tutorial page.
Posting my questions here as well:
Currently my domain http://www.mayankag.com serves basic .html and .php files
For example, the traffic to / is directed to /index.php
If I follow the steps in the above tutorial, will the website support both .php files in the root, as well the bottle .py routes?
In your current setup, the urls need to have /index.fcgi/ in the beginning. How can I get rid of that? In other words, how can I setup such that the url looks:
Question 1 is not important, I really just care about Question 2 i.e. how to get rid of index.fcgi in the url?
I apologize about the confusion regarding question two. Because of the way the htaccess file is setup, bottle will work with or without the URLs having “index.fcgi”.
In regards to your first question, PHP files should work fine alongside the bottle setup.
If you have any other questions, please feel free to let us know!
You must be Logged In to post an Answer.
Not a member yet? Sign Up Now »
Get all of your questions answered now!