Local Cloud Tutorial?

Sorry man. I'm just lost. Read a lot of random threads and tutorials and still nothing.
What I'm trying to do is control the photon through a local web server.
Like this one, but locally.