This page applies to an older version of Orbited (Version 0.5) For info on the current version see the main documentation.
Installing Orbited 0.5
Orbited is written in Python and requires Python 2.5 or newer. Orbited also requires Twisted, which it installs automatically on most platforms (and is otherwise installed trivially). Additionally, from 0.5 and onwards Orbited enables a revolutionary interaction model centered around the TCPSocket.
Python
First of all, let's install Python. Download and run the installer for your system, and you'll be good to go.
For more detailed instructions, please refer to python.org's help page.
Twisted
Twisted is a dependency of Orbited 0.5. Installers are available on their website.
setuptools
Although it is not required, setuptools is by far the easiest way to get Orbited running.
1. Download ez_setup.py
2. Go to a command line, navigate to the directory containing ez_setup.py, and type:
python ez_setup.py setuptools
Orbited
You're almost done! Now all you have to do is install Orbited, itself:
Go to a command line and type:
easy_install orbited
To make sure the installation was successful, run this simple test:
Enter your Python interpreter:
python
See whether Orbited loads:
import orbited
If you don't see an error, it worked! Now, check out CherryChat, your first Orbited application.
Post-Installation Notes
Orbited encodes data as JSON, using a library called demjson. If you are looking for ways to speed up your project, try installing a super-fast C-based JSON library such as cjson or simplejson. Remember easy_install? It works here, too:
easy_install cjson
or
easy_install simplejson
Orbited is installed, and you're ready to build fast, scalable, cutting-edge network applications for the web. Congratulations!