{"id":21216508,"url":"https://github.com/nodegame/nodegame-digitalocean","last_synced_at":"2025-03-15T00:41:15.518Z","repository":{"id":141540170,"uuid":"209015438","full_name":"nodeGame/nodegame-digitalocean","owner":"nodeGame","description":"nodeGame Digital Ocean Droplet Files","archived":false,"fork":false,"pushed_at":"2021-02-10T15:49:54.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-21T16:44:15.948Z","etag":null,"topics":["configuration","digitalocean","digitalocean-droplets","nodegame","scripts"],"latest_commit_sha":null,"homepage":"https://nodegame.org","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodeGame.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-17T09:39:17.000Z","updated_at":"2021-02-10T15:49:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"93dcdfc6-4216-4faf-acde-d4fed6da4e13","html_url":"https://github.com/nodeGame/nodegame-digitalocean","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodeGame%2Fnodegame-digitalocean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodeGame%2Fnodegame-digitalocean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodeGame%2Fnodegame-digitalocean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodeGame%2Fnodegame-digitalocean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodeGame","download_url":"https://codeload.github.com/nodeGame/nodegame-digitalocean/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243667964,"owners_count":20328036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","digitalocean","digitalocean-droplets","nodegame","scripts"],"created_at":"2024-11-20T21:52:50.147Z","updated_at":"2025-03-15T00:41:15.497Z","avatar_url":"https://github.com/nodeGame.png","language":"Shell","readme":"# nodeGame Digital Ocean\n\nCollection of scripts to create/manage the nodeGame droplet on the\nDigital Ocean Market Place.\n\n## To Update.\n\n1 - Start latest after-cleaning snapshot of nodeGame.\n\n1 - Stop nodeGame: pm2 stop launcher\n\n1 - Update file ~/NODEGAME\\_README to the latest version number\n\n1 - Update file /opt/nodegame/nodegame-welcome.sh to the latest version number (two places)\n\n1 - Update file /opt/nodegame/.bashrc to the latest version number\n\n1 - Copy edited file /opt/nodegame/.bashrc inside droplet root folder\n\n1 - Get latest installer file (delete previous one if existing): \n    \n    wget nodegame.org/nodegame-installer.js\n    \nor\n\n    wget https://raw.githubusercontent.com/nodeGame/nodegame/master/bin/nodegame-installer.js\n\n1 - Install latest DEV version:\n\n    node nodegame-installer @dev\n\n1 - Copy conf/servernode.js file from previous Droplet into current\n    one (set port 80, and remove homePage).\n\n1 - Update ultimatum game file public/js/index.js to connect to\n    '/ultimatum' channel.\n\n1 - Try Game.\n\n1 - Cleanup: data/ and log/ folder in ultimatum, and log/ folder in\n    nodegame root.\n\n1 - Delete old installation directory.\n\n1 - Remove NODEGAME\\_WELCOME from home directory.\n\n1 - Re-download cleanup.sh script:\n\n    wget https://raw.githubusercontent.com/digitalocean/marketplace-partners/master/scripts/cleanup.sh\n\n1 - Run cleanup.sh script: sh cleanup.sh\n\n1 - Re-download img\\check.sh script:\n\n    wget https://raw.githubusercontent.com/digitalocean/marketplace-partners/master/scripts/img_check.sh\n\n1 - Run img\\_check.sh script (clear var files not cleared): chmod +x img_check.sh ; ./img_check.sh\n\n1 - Delete both cleanup and img\\_check scripts.\n\n1 - Remove any spurious file in /var/log/ as reported by the check script.\n\n1 - Take one snapshot. \n\n1 - Create a new droplet with that snapshot and test it.\n\n1 - Take a second snapshot! In case the vendor portal loses one.\n\n## Resources:\n\nmkdir ~/.npm-global\nnpm config set prefix '~/.npm-global'\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodegame%2Fnodegame-digitalocean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodegame%2Fnodegame-digitalocean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodegame%2Fnodegame-digitalocean/lists"}