Skip to content
Malex edited this page Mar 1, 2011 · 5 revisions

Version >=2.0:
Download the package and, if necessary, extract it. Type “make install” and your FrozenFW is almost ready.
(A setup.py file will be soon avaible)
Copy the file wsgi/init.py wherever you want, then configure your webserver for running wsgi application.
It could need to use a *nix socket: in this case, you have to edit the init.py file (you can easily find
out how to do that through a quick google search ;) )

After you did that, your Framework is ready for scripting.

Old versions:
- PLEASE NOTE THAT THOSE INSTALLATION ISTRUCTIONS ARE REFFERED TO 0.1 VERSION. -
Anyway, I suggest you to wait until 2.0 will be released

To install FrozenFW, simply download the source (or clone the repository). Then go to the downloaded directory and edit the first line of Makefile to select your installation dir. Then, if you want to use Python3.X, you have to run make update.
Finally run make install.

Now, your framework is installed correctly.

If you get 500 – Internal Server Error while trying to test it, first check your .frozenrc is correct (edit std.py to change configuration file).
Then, if still not working, try to replace manually all occurences of ~ with your home directory (some webservers change the $HOME default value.
Now it should work. Otherwise, check the configuration of your webserver and BE SURE it executes .py files (you need cgi support). (Besides I suggest to forbid accessing to .pyc, .log and .db files, because if somebody downloads them, it might be a very dangerous security hole)

Finally try doing a chmod -R 0777 to all directories where py files have to be executed by the webserver.

If still not working, contact me via mail ( malexprojects [at] gmail [dot] com )

Clone this wiki locally