{"id":19272330,"url":"https://github.com/sdslabs/monopoly","last_synced_at":"2025-02-23T20:26:29.913Z","repository":{"id":29053675,"uuid":"32581399","full_name":"sdslabs/monopoly","owner":"sdslabs","description":"Monopoly is web game based on IITR map","archived":false,"fork":false,"pushed_at":"2015-03-20T12:05:10.000Z","size":15036,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-01-05T13:42:07.686Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sdslabs.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}},"created_at":"2015-03-20T12:01:07.000Z","updated_at":"2015-11-23T09:28:45.000Z","dependencies_parsed_at":"2022-07-21T03:18:52.847Z","dependency_job_id":null,"html_url":"https://github.com/sdslabs/monopoly","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/sdslabs%2Fmonopoly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdslabs%2Fmonopoly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdslabs%2Fmonopoly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sdslabs%2Fmonopoly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sdslabs","download_url":"https://codeload.github.com/sdslabs/monopoly/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240374054,"owners_count":19791333,"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":[],"created_at":"2024-11-09T20:36:19.214Z","updated_at":"2025-02-23T20:26:29.876Z","avatar_url":"https://github.com/sdslabs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Monopoly**\n\nDependencies\n---\n\n1. [Node.js](https://github.com/joyent/node)\n\nSetting up the server\n---\n\n1. Clone the repository:\n\n        $ git clone git@git.sdslabs.co.in:monopoly\n        $ cd monopoly\n\n2. Import the `db.schema` from `/schema` to *phpMyAdmin*.\n       \n3. Update `password.json.template` and rename it to `password.json`. Set `G_MYSQL_USERNAME`, `G_MYSQL_PASSWORD`.\n\n4. Make an entry for `sdslabs.local` in `/etc/hosts`.\n\n5. The server can now be started:\n\n        $ node server.js\n\n6. Visit `sdslabs.local:8080` in browser.\n\nEnabling SSL\n---\n\n1. Enable production by uncommenting the code within `Production` header.\n2. Add *server certificate* and *server key* to `/ssl`\n\n        $ mkdir ssl\n    \n3. Update `G_SSL_CERT_PASSPHRASE` (this is the password used to encrypt the server's certificate and private key) in `JSON/password.json`, if applicable.\n4. To start the server at port `443`, *root* is needed.\n\n        $ sudo node server.js\n\nOptions\n---\n\nSee configurable options in `JSON/constants.json`. For instance, set `G_IP_ADDR` to `\"\"` for running the server on a local network. Otherwise, `G_IP_ADDR` should *exactly* match the *URL* the server is deployed on.\n\nDefault SSL and HTTP ports (`443` and `80` respectively) require the server to be running with *superuser* permissions. \n\nTo change global logging level set `G_SERVER_LOG_LEVEL`. \nTo enable full socket level logging, set `G_LOG_CONNECTION_MESSAGES`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdslabs%2Fmonopoly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsdslabs%2Fmonopoly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsdslabs%2Fmonopoly/lists"}