class Entityjs::Server
Public Class Methods
run(args)
click to toggle source
# File lib/entityjs/commands/server.rb, line 5 def self.run(args) if !Dirc.game? return 2 end set :public_folder, Dirc.game_root puts "Your game is here:" puts " http://localhost:2345/" puts "" puts "Your tests are here:" puts " http://localhost:2345/test" puts "" Entityjs::Server.run! :port=>2345 end