Well, to start with, I'd make sure that you have the latest version of raspbian install - jessie.
Then install node-red (sudo apt-get nodered) which gives you a drag and drop programming
environment which can read from gpio pins and send the output to MQTT.
Once you have got that working using the MQTT broker we provide (mqtt.thingstud.io),
you can move on to installing a broker on your Raspberry Pi. You'll need the latest version
of mosquitto (1.4) or above, which is now on the distribution, I think. You then should have your
own stand alone system that can talk to ThingStudio apps. Remember to configure mosquitto so that it support websockets.
You don't need to install anything on your computer, as ThingStudio apps run in the web brower.