{"id":22900183,"url":"https://github.com/srchen1987/dawdler-runtime","last_synced_at":"2025-05-08T01:11:39.094Z","repository":{"id":40576254,"uuid":"432887723","full_name":"srchen1987/dawdler-runtime","owner":"srchen1987","description":"dawdler运行环境","archived":false,"fork":false,"pushed_at":"2024-02-02T08:39:21.000Z","size":64483,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T01:11:36.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/srchen1987.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}},"created_at":"2021-11-29T03:02:50.000Z","updated_at":"2023-03-06T02:27:57.000Z","dependencies_parsed_at":"2023-01-24T01:31:07.534Z","dependency_job_id":"c2dec236-4ce5-4fed-943c-707fa9e781a1","html_url":"https://github.com/srchen1987/dawdler-runtime","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srchen1987%2Fdawdler-runtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srchen1987%2Fdawdler-runtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srchen1987%2Fdawdler-runtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srchen1987%2Fdawdler-runtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srchen1987","download_url":"https://codeload.github.com/srchen1987/dawdler-runtime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252978768,"owners_count":21834916,"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-12-14T01:18:18.748Z","updated_at":"2025-05-08T01:11:39.067Z","avatar_url":"https://github.com/srchen1987.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dawdler-runtime\n\ndawdler运行环境\n\n## zookeeper\n\nzookeeper直接启动即可,进入bin目录,执行 `sh zkServer.sh start`  启动zookeeper.\n\n## dawdler-server\n\n### dawdler服务器结构说明\n\n        bin 存放dawdler启动的jar包与脚本.\n\n        conf dawdler的配置信息,server-conf是服务器配置,datasources数据源配置.\n\n        deploys 部署dawdler的项目,这与tomcat的webapps相似,更像jboss/WildFly的deploy的概念.每个目录的资源是独立使用的,包括类加载器.\n\n        lib 这里面的jar包是所有deploys下面的模块项目通用的,比如mysql驱动,数据库连接池等等相关的jar包,可以放到这里.\n\n        logs 存放日志.\n\n deploys 补充说明:\n    例如写了一个 user模块,admin模块,以下是deploys的目录结构.\n\n        -deploys\n            --user\n                ---classes //存放class\n                ---lib //存放依赖jar包\n            --admin\n                ---classes\n                ---lib\n\n### 启动dawdler\n\n进入dawdler的bin目录,通过 `sh dawdler.sh run` 启动(win环境`dawdler.bat` linux或mac环境`sh dawdler.sh`).\n\n    运行`sh dawdler.sh`会有以下输出\n\n        commands:\n        run               Start dawdler in the current window 在当前窗口启动dawdler\n\n        start             Start dawdler in a separate window 在后台启动dawdler \n\n        stop              Stop dawdler 停止dawdler(关闭dawdler之前会拒绝所有的请求,同时等待处理完客户端的请求之后停止服务器)\n\n        stopnow           Stop dawdler immediately 立刻停止dawdler,如果客户端有请求为处理完会收到一个强制停止的异常\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrchen1987%2Fdawdler-runtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrchen1987%2Fdawdler-runtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrchen1987%2Fdawdler-runtime/lists"}