Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
gassafety-progress
Commits
b09841f4
Commit
b09841f4
authored
Jan 26, 2022
by
wuqinghua
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
3779046b
09f22a84
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
startup.sh
gassafetyprogress-admin/src/main/bin/startup.sh
+2
-2
application.yml
gassafetyprogress-admin/src/main/resources/application.yml
+2
-2
index.js
gassafetyprogress-web/src/router/index.js
+1
-0
vue.config.js
gassafetyprogress-web/vue.config.js
+1
-1
No files found.
gassafetyprogress-admin/src/main/bin/startup.sh
View file @
b09841f4
...
@@ -38,10 +38,10 @@ fi
...
@@ -38,10 +38,10 @@ fi
JAVA_MEM_OPTS
=
"-server -Xms2048M -Xmx2048M -Xmn1024M"
JAVA_MEM_OPTS
=
"-server -Xms2048M -Xmx2048M -Xmn1024M"
#JAVA_MEM_OPTS="-server -Xms5120M -Xmx5120M -Xmn1024M -Xnoclassgc -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+PrintClassHistogram -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -Xloggc:$CLOG_FILE"
#JAVA_MEM_OPTS="-server -Xms5120M -Xmx5120M -Xmn1024M -Xnoclassgc -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled -XX:CMSInitiatingOccupancyFraction=80 -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+PrintClassHistogram -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -Xloggc:$CLOG_FILE"
echo
-e
"Starting the
Communication
Application ...
\c
"
echo
-e
"Starting the
GassafetyProgress
Application ...
\c
"
export
LD_LIBRARY_PATH
=
$LD_LIBRARY_PATH
:
$DEPLOY_DIR
/libs/linux_64
export
LD_LIBRARY_PATH
=
$LD_LIBRARY_PATH
:
$DEPLOY_DIR
/libs/linux_64
nohup
java
-Dlog
.path
=
$LOGS_DIR
-Dapp
.home
=
$DEPLOY_DIR
$JAVA_OPTS
$JAVA_MEM_OPTS
$JAVA_DEBUG_OPTS
$JAVA_JMX_OPTS
-classpath
$CONF_DIR
:
$LIB_JARS
$APP_MAINCLASS
&
nohup
java
-Dlog
.path
=
$LOGS_DIR
-Dapp
.home
=
$DEPLOY_DIR
$JAVA_OPTS
$JAVA_MEM_OPTS
$JAVA_DEBUG_OPTS
$JAVA_JMX_OPTS
-classpath
$CONF_DIR
:
$LIB_JARS
$APP_MAINCLASS
>
/dev/null 2>&1
sleep
1
sleep
1
echo
"started"
echo
"started"
PIDS
=
`
ps
-ef
|
grep
java |
grep
"
$DEPLOY_DIR
"
|
awk
'{print $2}'
`
PIDS
=
`
ps
-ef
|
grep
java |
grep
"
$DEPLOY_DIR
"
|
awk
'{print $2}'
`
...
...
gassafetyprogress-admin/src/main/resources/application.yml
View file @
b09841f4
# 开发环境配置
# 开发环境配置
server
:
server
:
# 服务器的HTTP端口,默认为8080
# 服务器的HTTP端口,默认为8080
port
:
8
080
port
:
8
903
servlet
:
servlet
:
# 应用的访问路径
# 应用的访问路径
context-path
:
/
context-path
:
/
gassafety
tomcat
:
tomcat
:
# tomcat的URI编码
# tomcat的URI编码
uri-encoding
:
UTF-8
uri-encoding
:
UTF-8
...
...
gassafetyprogress-web/src/router/index.js
View file @
b09841f4
...
@@ -53,6 +53,7 @@ export const constantRoutes = [
...
@@ -53,6 +53,7 @@ export const constantRoutes = [
component
:
(
resolve
)
=>
require
([
'@/views/error/401'
],
resolve
),
component
:
(
resolve
)
=>
require
([
'@/views/error/401'
],
resolve
),
hidden
:
true
hidden
:
true
},
},
//大屏展示
{
{
path
:
'/bigWindow'
,
path
:
'/bigWindow'
,
component
:
(
resolve
)
=>
require
([
'@/views/bigWindow'
],
resolve
),
component
:
(
resolve
)
=>
require
([
'@/views/bigWindow'
],
resolve
),
...
...
gassafetyprogress-web/vue.config.js
View file @
b09841f4
...
@@ -34,7 +34,7 @@ module.exports = {
...
@@ -34,7 +34,7 @@ module.exports = {
proxy
:
{
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://
localhost:8080
`
,
target
:
`http://
222.223.203.154:8092/gassafety
`
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment