Thursday 8 May 2014

Running Moin2 in Pycharm




Before posting I was in a dilemma whether it is worth or not but then I thought that it might be useful for others in future.
First download Pycharm using this link (preferred is professional version).
Run pycharm.sh in pycharm/bin
Add the licence of MoinMoin Wiki to it.
Then create a new project for MoinMoin
Go to File ->Settings and in that there is a python interpreter tab in which the path of the moin interpreter needs to be specified. Desired path is <venv>/bin/python
Then go to Run -> Edit Configurations and click on "+" on upper-left and new configuration of Python type.
Double Click on this new configuration of python and edit the path of the script to <venv>/bin/moin and change working directory to moin-2.0 and then click OK
Now configuration is done. Click on Run->Debug "Name of Project" and then moin runs on default port 8080. Make sure that no other application is running on that port.

No comments:

Post a Comment