Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
how to run?? #57
My operating system is ubuntu 11.04, I use "npm install -g coffee-script",but there are some errors:
so I use "apt-get install coffeescript", but there are some new errors when I use "coffee server/app.coffee"
Now I use "sudo npm install -g coffee-script",then "coffee server/app.coffee",new errors:
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
As TriggerRally has made some new commits over the last few months, I can NOT run TriggerRally game server using the latest version at GitHub.
There is no any stable releases for TriggerRally, therefore, I can NOT try any old version.
I describe my installation procedure as follows.
(1) I download the latest version of TriggerRally from GitHub.
I install node.js, coffee, and node_modules in the latest version using apt-get install, npm install
Run server/build/build.sh to build production-mode JS bundles successfully.
Following the instruction in the issue #6, I create the config file './config'
(2) I found that TriggerRally game at GitHub can NOT work on express 4.x
"Because in Express 4.0, all middleware (except static) have been removed and will need to be called separately. These middleware dependencies were included in the Connect package. Since connect is no longer a dependency, we will have to call the middleware ourselves. Here is a table of all the middleware that came with 3.0 and what it is now called."
With reference to the above link, I have modified the source code to make the source code adapt to email@example.com.
(3) When I start the game server (coffee server/app.coffee) , it exhibits the
Error: Cannot find module './secret'
I check Paypal app's developer link, I do NOT know how to figure out the "server/paypal/secret.coffee" format of TriggerRally.
(4) I comment out the source code related to Paypal communication. Then I run the game server again (coffee server/app.coffee).
info - socket.io started
Would you please give some clues so that I can run game in my local ubuntu server? Thank you very much.