{"id":13747956,"url":"https://github.com/MahjongRepository/mahjong-portal","last_synced_at":"2025-05-09T10:32:13.767Z","repository":{"id":46203317,"uuid":"114328632","full_name":"MahjongRepository/mahjong-portal","owner":"MahjongRepository","description":"Portal for russian riichi mahjong community","archived":false,"fork":false,"pushed_at":"2025-05-02T15:42:57.000Z","size":6833,"stargazers_count":14,"open_issues_count":19,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-02T16:28:47.017Z","etag":null,"topics":["django","hacktoberfest","leaderboard","mahjong","python","tournament"],"latest_commit_sha":null,"homepage":"https://mahjong.click/en/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MahjongRepository.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2017-12-15T04:53:02.000Z","updated_at":"2025-05-02T15:37:49.000Z","dependencies_parsed_at":"2025-04-24T21:36:56.778Z","dependency_job_id":null,"html_url":"https://github.com/MahjongRepository/mahjong-portal","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/MahjongRepository%2Fmahjong-portal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahjongRepository%2Fmahjong-portal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahjongRepository%2Fmahjong-portal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MahjongRepository%2Fmahjong-portal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MahjongRepository","download_url":"https://codeload.github.com/MahjongRepository/mahjong-portal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253234178,"owners_count":21875561,"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":["django","hacktoberfest","leaderboard","mahjong","python","tournament"],"created_at":"2024-08-03T07:00:31.104Z","updated_at":"2025-05-09T10:32:10.810Z","avatar_url":"https://github.com/MahjongRepository.png","language":"Python","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"readme":"The project is working with Python **3.6+** only.\n\nIt is web-application to accumulate, calculate and display russian riichi-mahjong tournaments and ratings.\n\n## Local\n\n### Project set up\n\nYou need to have installed docker and docker compose.\n\nSteps to run the project:\n\n1. `make build-docker`\n2. `make initial-data` (run this command only once, for the initial project setup)\n3. `make up`\n\nAfter these steps you will be able to access website here: http://0.0.0.0:8060/\n\n## Production\n\n### Docker set up\n\nYou need to have installed docker and docker compose.\n\nCopy `.envs/.production.env.example` file and fill it with real data, but don't forget to keep it in secret (at least don't add it to version control system). Assign these env variables to the container with any way that is suits you (there are different options how to do it), and after that you can simply run `make build` and `make up` commands. By default in `production.yml` we are using `.envs/.production.env` file.\n\nFor static files serving and SSL configuration you need to set up the server upfront of this docker image.\n\nIf needed, restore the database backup for the new installation.\n\n### DB Backups\n\nOn your host machine you can set up these cron commands to make backups:\n\n```\n# every 6 hours\n0 */6 * * * cd /root/portal/ \u0026\u0026 make db-backup backup_type=hourly \u0026\u0026 /root/upload_files.sh\n# once a week\n0 0 * * 0 cd /root/portal/ \u0026\u0026 make db-backup backup_type=weekly \u0026\u0026 /root/upload_files.sh\n# once a month\n0 0 2 * * cd /root/portal/ \u0026\u0026 make db-backup backup_type=monthly \u0026\u0026 /root/upload_files.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMahjongRepository%2Fmahjong-portal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMahjongRepository%2Fmahjong-portal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMahjongRepository%2Fmahjong-portal/lists"}