Skip to content

A Javascript client library for RedDwarf (formerly Project Darkstar)

License

Notifications You must be signed in to change notification settings

AdamSpitz/RedDwarf-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RedDwarf-JS

RedDwarf-JS is a Javascript client library for RedDwarf (formerly Project Darkstar).

Installation

  1. Install Twisted. (Requires Python.)
  2. Install Orbited. (On my Macbook, all I had to do was use Python's easy_install facility: easy_install orbited and easy_install simplejson.)
  3. Download RedDwarf Server. (To run it, you'll need Java 6. On a 64-bit Mac you can get it via Software Update.)

Running the example client

  1. Get a command prompt in the RedDwarf-JS directory and then run orbited
  2. Get a command prompt in the directory where you downloaded RedDwarf Server and start the SwordWorld (or HelloChannels or whatever) server by running java -jar bin/sgs-boot.jar tutorial/conf/SwordWorld.boot
  3. Point your web browser at http://localhost:9000/example/example.html

Credits

This is just a port of the Darkstar-as3 code over to Javascript. Thanks go to the people who wrote that, and the whole Project Darkstar/RedDwarf team. (Though if it doesn't work, it's probably my fault - it's very possible that I didn't port the code quite right.)

Disclaimer

I can't promise that this code will work for you. I've tried it out with HelloChannels and SwordWorld, on a few different browsers (Safari and Firefox and Chrome on my Macbook, and IE8 and Chrome on Windows XP). Please let me know if you find bugs or have questions or comments.

License

Like Darkstar-as3, this project is under the MIT License.

About

A Javascript client library for RedDwarf (formerly Project Darkstar)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published