https://github.com/techninja/ninjanode
A node.js implementation of the ninjaships.js library, made into a complete HTML5 multiplayer game!
https://github.com/techninja/ninjanode
game javascript multiplayer nodejs socket-io
Last synced: 3 months ago
JSON representation
A node.js implementation of the ninjaships.js library, made into a complete HTML5 multiplayer game!
- Host: GitHub
- URL: https://github.com/techninja/ninjanode
- Owner: techninja
- Created: 2013-02-06T17:33:40.000Z (over 12 years ago)
- Default Branch: beta
- Last Pushed: 2025-02-22T19:38:07.000Z (4 months ago)
- Last Synced: 2025-03-28T23:44:07.353Z (3 months ago)
- Topics: game, javascript, multiplayer, nodejs, socket-io
- Language: JavaScript
- Homepage:
- Size: 26.4 MB
- Stars: 13
- Watchers: 2
- Forks: 8
- Open Issues: 55
-
Metadata Files:
- Readme: README.Docker.md
Awesome Lists containing this project
README
### Building and running your application
When you're ready, start your application by running:
`docker compose up --build`.Your application will be available at http://localhost:4242.
### Deploying your application to the cloud
First, build your image, e.g.: `docker build -t ninjanode .`.
If your cloud uses a different CPU architecture than your development
machine (e.g., you are on a Mac M1 and your cloud provider is amd64),
you'll want to build the image for that platform, e.g.:
`docker build --platform=linux/amd64 -t ninjanode .`.Then, push it to your registry, e.g. `docker push myregistry.com/myapp`.
Consult Docker's [getting started](https://docs.docker.com/go/get-started-sharing/)
docs for more detail on building and pushing.### References
* [Docker's Node.js guide](https://docs.docker.com/language/nodejs/)