{"id":24929795,"url":"https://github.com/traptitech/jomon","last_synced_at":"2025-04-09T21:51:10.020Z","repository":{"id":38834694,"uuid":"217501314","full_name":"traPtitech/Jomon","owner":"traPtitech","description":"Account Support System for traP","archived":false,"fork":false,"pushed_at":"2025-03-31T15:41:06.000Z","size":20434,"stargazers_count":7,"open_issues_count":47,"forks_count":3,"subscribers_count":12,"default_branch":"v2","last_synced_at":"2025-04-09T21:51:02.904Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Go","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/traPtitech.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-10-25T09:37:13.000Z","updated_at":"2025-02-01T02:04:26.000Z","dependencies_parsed_at":"2023-02-17T17:31:12.806Z","dependency_job_id":"f54fb542-3052-4303-8fa8-f1a6fb37aa8f","html_url":"https://github.com/traPtitech/Jomon","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/traPtitech%2FJomon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2FJomon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2FJomon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2FJomon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traPtitech","download_url":"https://codeload.github.com/traPtitech/Jomon/tar.gz/refs/heads/v2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119403,"owners_count":21050754,"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":["hacktoberfest"],"created_at":"2025-02-02T13:51:53.935Z","updated_at":"2025-04-09T21:51:10.000Z","avatar_url":"https://github.com/traPtitech.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eJomon\u003c/h1\u003e\n  \u003cp\u003e\n    \u003cstrong\u003eAn accounting support system\u003c/strong\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://apis.trap.jp/?urls.primaryName=Jomon%20v2%20API\"\u003eJomon API\u003c/a\u003e\u0026emsp;\u003ca href=\"https://github.com/traPtitech/Jomon-UI\"\u003eJomon-UI\u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/traPtitech/Jomon/actions/workflows/image-v2.yml\"\u003e\u003cimg src=\"https://github.com/traPtitech/Jomon/actions/workflows/image-v2.yml/badge.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/traPtitech/Jomon/actions/workflows/go.yml\"\u003e\u003cimg src=\"https://github.com/traPtitech/Jomon/actions/workflows/go.yml/badge.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/traPtitech/Jomon\"\u003e\u003cimg src=\"https://codecov.io/gh/traPtitech/Jomon/branch/v2/graph/badge.svg\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n## Environment\n\n### Testing\n\n1. Make the server running.\n\n2. Run the following command in the project root.\n```shell script\nmake test\n```\n\n### Running\n\n1. Run the following command in the project root.\n\n```sh\nmake up\n```\n\nNow, you can send http requests to `localhost:3000`.\n\n2. Run the following command in the project root when making the server down.\n\n```sh\nmake down\n```\n\n## Staging\n\n1. Set `.env` file. You can refer to `.env.example` as an example.\n\n- `IS_DEBUG_MODE`: Set `true` if you want to run the server in debug mode, otherwise do not set this variable.\n- `PORT`: Port number for Jomon staging server\n- `UPLOAD_DIR`: Directory for uploading files\n- `MARIADB_USERNAME`: Username for MariaDB\n- `MARIADB_PASSWORD`: Password for MariaDB\n- `MARIADB_HOSTNAME`: Hostname for MariaDB\n- `MARIADB_PORT`: Port number for MariaDB\n- `MARIADB_DATABASE`: Database name for MariaDB\n- `SESSION_KEY`: Session key for Jomon staging server\n- `TRAQ_CLIENT_ID`: Client ID for traQ\n- `WEBHOOK_SECRET`: Webhook secret for traQ\n- `WEBHOOK_ID`: Webhook ID for traQ\n- `OS_CONTAINER`: Container name for SwiftStorage\n- `OS_USERNAME`: Username for SwiftStorage\n- `OS_PASSWORD`: Password for SwiftStorage\n- `OS_TENANT_NAME`: Tenant name for SwiftStorage\n- `OS_TENANT_ID`: Tenant ID for SwiftStorage\n- `OS_AUTH_URL`: Auth URL for SwiftStorage\n\n2. Enter the server for Jomon staging server and run the following command in the project root.\n\n```sh\nsudo docker pull ghcr.io/traptitech/jomon-v2:latest\nsudo docker run -d -p 1323:1323 --env-file .env ghcr.io/traptitech/jomon-v2\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraptitech%2Fjomon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraptitech%2Fjomon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraptitech%2Fjomon/lists"}