Browse Source

add readme.md

willliamguo 3 years ago
parent
commit
bc8802240b
2 changed files with 28 additions and 14 deletions
  1. 15 1
      readme.md
  2. 13 13
      src/main/resources/application.yml

+ 15 - 1
readme.md

@@ -1 +1,15 @@
-众测
+## 项目说明
+1. 项目名称:信创版众测服务后端
+2. 项目分支:
+```$xslt
+dev-XC              是信创版众测服务后端的开发版本
+PrivateReleaseOfXC  是信创版众测服务后端的线上版本
+```
+3. 项目负责人:郭超
+4. 开发运行的环境:dev,开发时需要修改application.yml中save.path,改成本机的对应的文件夹。
+5. 安装部署:
+- 分支:PrivateReleaseOfXC
+- 环境:private-cloud
+```$xslt
+jenkins构建:http://116.62.172.121:8081/view/%E4%BC%97%E5%8C%85%E6%B5%8B%E8%AF%95/job/%E4%BF%A1%E5%88%9B%E6%8A%A5%E5%91%8A%E8%9E%8D%E5%90%88%E7%A7%81%E6%9C%89%E4%BA%91/
+```

+ 13 - 13
src/main/resources/application.yml

@@ -1,6 +1,5 @@
-#spring.profiles.active: dev-xc
 #spring.profiles.active: private-cloud
-spring.profiles.active: private-localhost
+spring.profiles.active: dev
 #spring.profiles.active: dev-online
 
 cpSerialNum: cp_mooctest_dev
@@ -38,9 +37,10 @@ logging:
     org.springframework.http.server.reactive: DEBUG
     org.springframework.web.reactive: DEBUG
     reactor.ipc.netty: DEBUG
+
 ---
 spring:
-  profiles: dev-online
+  profiles: dev
   http:
     encoding:
       charset: UTF-8
@@ -48,6 +48,7 @@ spring:
       force: true
   data:
     mongodb:
+#      uri: mongodb://mooctest:mooctest@121.40.93.243:27217/test
       uri: mongodb://mooctest:mooctest@121.40.93.243:27117/test
 server:
   ip: 127.0.0.1
@@ -67,10 +68,13 @@ save:
   image: /image
 main:
   site: http://127.0.0.1:8080
+  userInfoApi: /api/user/info/
+
+#  site: http://121.40.93.243:8200
 
 ---
 spring:
-  profiles: private-localhost
+  profiles: private-cloud
   http:
     encoding:
       charset: UTF-8
@@ -78,7 +82,6 @@ spring:
       force: true
   data:
     mongodb:
-#      uri: mongodb://mooctest:mooctest@121.40.93.243:27217/test
       uri: mongodb://mooctest:mooctest@121.40.93.243:27117/test
 server:
   ip: 127.0.0.1
@@ -87,9 +90,9 @@ server:
     context-path: /Bug/api/
   tomcat:
     uri-encoding: UTF-8
-useOss: true
+useOss: false
 save:
-  path: /Users/guochao/Desktop
+  path: /var/www
   folder: /xinchuang
   input: /input
   output: /output
@@ -100,11 +103,9 @@ main:
   site: http://127.0.0.1:8080
   userInfoApi: /api/user/info/
 
-#  site: http://121.40.93.243:8200
-
 ---
 spring:
-  profiles: private-cloud
+  profiles: dev-online
   http:
     encoding:
       charset: UTF-8
@@ -120,9 +121,9 @@ server:
     context-path: /Bug/api/
   tomcat:
     uri-encoding: UTF-8
-useOss: false
+useOss: true
 save:
-  path: /var/www
+  path: /Users/guochao/Desktop
   folder: /xinchuang
   input: /input
   output: /output
@@ -131,4 +132,3 @@ save:
   image: /image
 main:
   site: http://127.0.0.1:8080
-  userInfoApi: /api/user/info/