连接服务器数据库
This commit is contained in:
parent
82ea418f57
commit
48ba451ec0
27
.gitignore
vendored
27
.gitignore
vendored
@ -1,12 +1,15 @@
|
|||||||
# Compiled class file
|
# Compiled class file
|
||||||
*.class
|
*.class
|
||||||
|
|
||||||
# Log file
|
# Log file
|
||||||
*.log
|
*.log
|
||||||
|
|
||||||
# Package Files #
|
# Package Files #
|
||||||
*.jar
|
*.jar
|
||||||
*.war
|
*.war
|
||||||
*.zip
|
*.zip
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.rar
|
*.rar
|
||||||
|
|
||||||
|
# 自定义
|
||||||
|
.vscode
|
||||||
|
4
backend/.gitignore
vendored
4
backend/.gitignore
vendored
@ -13,11 +13,13 @@ target/
|
|||||||
.sts4-cache
|
.sts4-cache
|
||||||
|
|
||||||
### IntelliJ IDEA ###
|
### IntelliJ IDEA ###
|
||||||
.idea
|
# .idea
|
||||||
*.iws
|
*.iws
|
||||||
*.iml
|
*.iml
|
||||||
*.ipr
|
*.ipr
|
||||||
|
|
||||||
|
!.idea/runConfigurations/*
|
||||||
|
|
||||||
### NetBeans ###
|
### NetBeans ###
|
||||||
/nbproject/private/
|
/nbproject/private/
|
||||||
/nbbuild/
|
/nbbuild/
|
||||||
|
7
backend/.idea/.gitignore
generated
vendored
7
backend/.idea/.gitignore
generated
vendored
@ -6,3 +6,10 @@
|
|||||||
# Datasource local storage ignored files
|
# Datasource local storage ignored files
|
||||||
/dataSources/
|
/dataSources/
|
||||||
/dataSources.local.xml
|
/dataSources.local.xml
|
||||||
|
|
||||||
|
# 自定义
|
||||||
|
/*.xml
|
||||||
|
!/encodings.xml
|
||||||
|
!/jarRepositories.xml
|
||||||
|
!/misc.xml
|
||||||
|
!/vcs.xml
|
||||||
|
35
backend/.idea/jarRepositories.xml
generated
Normal file
35
backend/.idea/jarRepositories.xml
generated
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RemoteRepositoriesConfiguration">
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Central Repository" />
|
||||||
|
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="spring-milestones" />
|
||||||
|
<option name="name" value="Spring Milestones" />
|
||||||
|
<option name="url" value="https://repo.spring.io/milestone" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Maven Central repository" />
|
||||||
|
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jboss.community" />
|
||||||
|
<option name="name" value="JBoss Community repository" />
|
||||||
|
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="spring-snapshots" />
|
||||||
|
<option name="name" value="Spring Snapshots" />
|
||||||
|
<option name="url" value="https://repo.spring.io/snapshot" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Central Repository" />
|
||||||
|
<option name="url" value="https://maven.aliyun.com/repository/public" />
|
||||||
|
</remote-repository>
|
||||||
|
</component>
|
||||||
|
</project>
|
20
backend/.idea/runConfigurations/UserProvider_Remote.xml
generated
Normal file
20
backend/.idea/runConfigurations/UserProvider_Remote.xml
generated
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
<component name="ProjectRunConfigurationManager">
|
||||||
|
<configuration default="false" name="UserProvider-Remote" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
|
||||||
|
<option name="ACTIVE_PROFILES" />
|
||||||
|
<envs>
|
||||||
|
<env name="--spring.profiles.active" value="remote" />
|
||||||
|
</envs>
|
||||||
|
<module name="microservice-provider-user" />
|
||||||
|
<option name="SPRING_BOOT_MAIN_CLASS" value="com.cxyxiaomo.epp.UserProvider" />
|
||||||
|
<option name="WORKING_DIRECTORY" value="file://$MODULE_WORKING_DIR$" />
|
||||||
|
<extension name="coverage">
|
||||||
|
<pattern>
|
||||||
|
<option name="PATTERN" value="com.cxyxiaomo.epp.*" />
|
||||||
|
<option name="ENABLED" value="true" />
|
||||||
|
</pattern>
|
||||||
|
</extension>
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
@ -0,0 +1,5 @@
|
|||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
url: jdbc:mysql://39.99.244.156:3306/epp?useUnicode=true&characterEncoding=utf8&useSSL=false
|
||||||
|
username: root
|
||||||
|
password: root
|
Loading…
Reference in New Issue
Block a user