You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If run daily, will keep daily snapshots for one week, weekly snapshots for one month, and monthly snapshots for one year.
You will need a database user with SELECT privileges for the given database. This example suggests to place the mysql creds in the .my.cnf file - suggest to set the permissions on this file to 600.
A very basic Apache set-up to host python apps with mod WSGI
This is almost all taken from (https://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide) - I'm adding something here because I did not realize that I had port 81 blockked on my firewall and lost a bit of time figuring that out (was able to wget the expected url but could not navigate in a browser). Anyway, here are the basic steps. See the link google code link though.
In my case, I have an already running php server where I just want to test out some python web apps and don't particularly care about performance or anything like that. In reality, it might make sense to have a separate instance of apache running for the python apps. But that's beyond the scope of what I'm trying to accomplish today, which is just to get a hello world python app up and running.