Disco + NetBeans IDE
After you have got your setup ready, (which is pretty damn simple), fire up NetBeans IDE with the Python bits installed:
- Create a New Python Project, say PyDisco. Name the main file as ‘wc-py.py‘
- Right-Click on the project > Properties > Sources, and add the pydisco, directory which you can find in the Disco tarball (‘pydisco’ is the Python package in which the Python API for Disco is defined)
- Now, in the file ‘wc-py.py’, copy the contents of the file ‘count_words.py‘ from http://discoproject.org/doc/start/install.html
- Right-Click on the project > Properties > Run and in the Application Argument box, type in http://localhost:7000
- Now, Run the Project
In the output window, you should see this message:
Starting Disco job..
Go to http://localhost:7000 to see status of the job.
When you open the browser, you will see something like this:
Of course, this was just a way to show you how you can use NetBeans IDE for your development using Disco.