This app is ready to start receiving deployments of your Colyseus application.
It includes a FREE "colyseus.dev" subdomain, Node.js, Nginx, and Redis. After provisioned, additional instructions for deployment must be followed.
Colyseus is a framework for writing your own authoritative multiplayer game servers using JavaScript/TypeScript and Node.js, and easily integrating it with your favorite game engine.
The purpose of this application is to serve as demonstration for the full Colyseus Cloud service.
Wait a few minutes for all necessary software to be installed in your VPS.
After the installation process is complete, you must open your VPS IP address from your web browser to see deployment instructions for your Colyseus app.
ssh-rsa ... (open IP address in your browser to see actual public key)
module.exports = {
apps : [{
name: "colyseus-app",
script: 'lib/index.js',
time: true,
watch: false,
instances: os.cpus().length,
exec_mode: 'fork',
wait_ready: true,
env_production: {
NODE_ENV: 'production'
}
}],
deploy : {
production : {
"user" : "deploy",
"host" : ["YOUR IP ADDRESS"],
"ref" : "origin/main",
"repo" : "git@github.com:your-user/your-repo.git",
"path" : "/home/deploy",
"post-deploy" : "npm install && npm run build && npm run colyseus-post-deploy"
}
}
};
$ pm2 deploy production setup
$ pm2 deploy production update
Report an application with malicious intent or harmful content.