-
Notifications
You must be signed in to change notification settings - Fork 4
Getting started
manuelmeurer edited this page Sep 13, 2010
·
22 revisions
Download the free Flex 3 SDK. This is bundled with:
-
mxmlc: Command-line utility for compiling ActionScript into a SWF file. - Flash Player.app: OS X application for playing a SWF file outside of a browser.
-
fdb: Command-line utility for tracking debug messages during SWF runtime.
Assuming that you installed at /Applications/Flex SDK 3, add the following to your ~/.profile, ~/.bash_profile, ~/.bashrc, or appropriate equivalent:
export PATH=/Applications/Flex\ SDK\ 3/bin:$PATH- Download the free ejabberd installer and run it. When it asks you for a virtual host, enter
localhost, not your computer’s name. - Add ejabberdctl to your
bashaliases orPATHin your ~/.profile or equivalent. For example:alias ejabberdctl="/Applications/ejabberd-2.0.2_2/bin/ejabberdctl" - Use
ejabberdctlto get ejabberd running on your computer:ejabberdctl start
Should the need arise, the commandsejabberdctl stop,ejabberdctl restart, andejabberdctl statusare also available.
For more information, see the ejabberd reference.
- Ensure that your computer has ports 5222 and 5280 open. OS X Leopard should handle this automatically, while older versions can manage their firewall ports via System Preferences > Sharing.
- Disable secure data transfers for now. Open
/Applications/ejabberd-2.0.2_2/conf/ejabberd.cfgin a text editor. Look for the5222, ejabberd_c2sblock in the “LISTENING PORTS” section, and comment out the line resembling:{certfile, "/Applications/ejabberd-2.0.2_2/conf/server.pem"}, starttls, - Ensure that
ejabberd.cfglistslocalhostas a virtual host. To do this, check thatejabberd.cfgcontains this in the “SERVED HOSTNAMES” section:{hosts, ["YOUR_COMPUTER_NAME.local", "localhost"]}.
(Note: You might later want to replaceYOUR_COMPUTER_NAMEwith the name of the project, so that you can have a separate Jabber database per project.) - Restart ejabberd:
ejabberdctl restart
- Set up your local admin account (ejabberd admin setup instructions).
- After creating your admin account, create additional test accounts via your local web admin interface.