-
Notifications
You must be signed in to change notification settings - Fork 146
how to run?? #57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello! You will need to install CoffeeScript and start the server with something like this:
|
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: /*******/ |
Oops, missed this, sorry. See issue #6. |
Hello folks. 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." http://scotch.io/bar-talk/expressjs-4-0-new-features-and-upgrading-from-3-0 With reference to the above link, I have modified the source code to make the source code adapt to express@4.1.0. (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. https://developer.paypal.com/docs/integration/admin/manage-apps/ (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. |
OK,now I have "sh server/build/build.sh" in command line,but I do not know how to run this programme? I try to "minit serve" like this,but there is no file "index.html",ask for help! thanks..
The text was updated successfully, but these errors were encountered: