Title: how to install ? · Issue #40 · java110/MicroCommunity · GitHub
Open Graph Title: how to install ? · Issue #40 · java110/MicroCommunity
X Title: how to install ? · Issue #40 · java110/MicroCommunity
Description: 1、download code git clone https://github.com/java110/MicroCommunity.git Execute mvn clean package and mvn clean install 2、Add hosts 127.0.0.1 dev.db.java110.com 127.0.0.1 dev.zk.java110.com 127.0.0.1 dev.kafka.java110.com 127.0.0.1 dev.r...
Open Graph Description: 1、download code git clone https://github.com/java110/MicroCommunity.git Execute mvn clean package and mvn clean install 2、Add hosts 127.0.0.1 dev.db.java110.com 127.0.0.1 dev.zk.java110.com 127.0.0...
X Description: 1、download code git clone https://github.com/java110/MicroCommunity.git Execute mvn clean package and mvn clean install 2、Add hosts 127.0.0.1 dev.db.java110.com 127.0.0.1 dev.zk.java110.com 127.0.0...
Opengraph URL: https://github.com/java110/MicroCommunity/issues/40
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"how to install ?","articleBody":"1、download code\r\ngit clone https://github.com/java110/MicroCommunity.git\r\nExecute mvn clean package and mvn clean install\r\n\r\n2、Add hosts\r\n127.0.0.1 dev.db.java110.com\r\n127.0.0.1 dev.zk.java110.com\r\n127.0.0.1 dev.kafka.java110.com\r\n127.0.0.1 dev.redis.java110.com\r\n127.0.0.1 api.java110.com\r\n127.0.0.1 dev.java110.com\r\n3、Install mysql and import TT.sql and hc_community.sql (files are under docs/db)\r\n4、Install redis and specify the redis password\r\n5、Modify application-dev.yml and dataSource.yml under the service at the beginning of the module service-\r\nMainly modify the redis password in application-dev.yml\r\n\r\njedis:\r\n pool:\r\n config:\r\n maxTotal: 100\r\n maxIdle: 20\r\n maxWaitMillis: 20000\r\n host: dev.redis.java110.com\r\n port: 6379\r\n timeout: 3000\r\n password: hc\r\nChange password: hc in hc to the password specified by redis\r\n\r\nspring:\r\n profiles:\r\n active: share\r\n http:\r\n encoding:\r\n charset: UTF-8\r\n enabled: true\r\n force: true\r\n application:\r\n name: community-service\r\n redis:\r\n database: 0\r\n host: dev.redis.java110.com\r\n port: 6379\r\n password: hc\r\n pool:\r\n max-active: 300\r\n max-wait: 10000\r\n max-idle: 100\r\n min-idle: 0\r\n timeout: 0\r\nChange password: hc in hc to the password specified by redis\r\n\r\ndataSources:\r\n ds0: !!com.alibaba.druid.pool.DruidDataSource\r\n driverClassName: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://dev.db.java110.com:3306/hc_community?useUnicode=true\u0026characterEncoding=utf-8\u0026serverTimezone=GMT%2B8\r\n username: hc_community\r\n password: hc_community@12345678\r\n minIdle: 5\r\n validationQuery: SELECT 1 FROM DUAL\r\n initialSize: 5\r\n maxWait: 60000\r\n filters: stat,wall,log4j\r\n poolPreparedStatements: true\r\n ds1: !!com.alibaba.druid.pool.DruidDataSource\r\n driverClassName: com.mysql.cj.jdbc.Driver\r\n url: jdbc:mysql://dev.db.java110.com:3306/TT?useUnicode=true\u0026characterEncoding=utf-8\u0026serverTimezone=GMT%2B8\r\n username: TT\r\n password: TT@12345678\r\n minIdle: 5\r\n validationQuery: SELECT 1 FROM DUAL\r\n initialSize: 5\r\n maxWait: 60000\r\n filters: stat,wall,log4j\r\n poolPreparedStatements: true\r\nModify password in dataSource.yml\r\nNote that for example, there is no dataSource.yml file in the service-api service\r\n6、Start the main method in the *ServiceApplicationStart.java file under the service-start service-start module\r\nNote that there is no order to start, but we recommend that you start service-eureka first\r\n7、Download the previous code\r\ngit clone https://github.com/java110/MicroCommunityWeb.git\r\n8、Modify the address in app.js\r\n\r\napp.use('/callComponent', proxy('http://192.168.100.108:8008', opts));\r\napp.use('/app', proxy('http://192.168.100.108:8008', opts));\r\nChange 192.168.100.108 to the ip of your backend\r\n9、start and access\r\nnpm start\r\n\r\nPS C:\\project\\vip\\MicroCommunityWeb\u003e npm start\r\n\u003e micrcommunityweb@0.0.0 start C:\\project\\vip\\MicroCommunityWeb\r\n\u003e node ./bin/www\r\nIndicates that the startup was successful\r\naddress:http://localhost:3000/","author":{"url":"https://github.com/928255095","@type":"Person","name":"928255095"},"datePublished":"2023-01-09T13:04:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/40/MicroCommunity/issues/40"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f4e9c0aa-8a57-f218-d993-4eec952fc4c7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACEA:2BC593:50CF26F:691B95B:697DDD90 |
| html-safe-nonce | 680bfe0d5139a68b1265ce43b168625f8603b8324df7279b13bbbe118a8f8ea5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0VBOjJCQzU5Mzo1MENGMjZGOjY5MUI5NUI6Njk3REREOTAiLCJ2aXNpdG9yX2lkIjoiMTI0NDAwMTUxOTE1ODU0OTkwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 907cd0a0139e846fae8e48a2c773ed946d92b24e7450dd98f213483c7d77893e |
| hovercard-subject-tag | issue:1525558579 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/java110/MicroCommunity/40/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a090195ce1f4a1a604794968c0f31a4e88b24ae5a123a9ac510349c144158b07/java110/MicroCommunity/issues/40 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a090195ce1f4a1a604794968c0f31a4e88b24ae5a123a9ac510349c144158b07/java110/MicroCommunity/issues/40 |
| og:image:alt | 1、download code git clone https://github.com/java110/MicroCommunity.git Execute mvn clean package and mvn clean install 2、Add hosts 127.0.0.1 dev.db.java110.com 127.0.0.1 dev.zk.java110.com 127.0.0... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 928255095 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/java110/MicroCommunity git https://github.com/java110/MicroCommunity.git |
| octolytics-dimension-user_id | 26900311 |
| octolytics-dimension-user_login | java110 |
| octolytics-dimension-repository_id | 129351237 |
| octolytics-dimension-repository_nwo | java110/MicroCommunity |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 129351237 |
| octolytics-dimension-repository_network_root_nwo | java110/MicroCommunity |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width