Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
weadmin_gatsby
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
xiaohong.liu
weadmin_gatsby
Commits
aa77fe26
Commit
aa77fe26
authored
Aug 02, 2022
by
yuwen.yin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
adba5546
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
9 deletions
+12
-9
README.md
README.md
+12
-9
No files found.
README.md
View file @
aa77fe26
...
@@ -6,27 +6,30 @@
...
@@ -6,27 +6,30 @@
详情使用可查看gatsbyjs官网:https://www.gatsbyjs.org/docs/quick-start
详情使用可查看gatsbyjs官网:https://www.gatsbyjs.org/docs/quick-start
一、
siteview
网站
一、
weadmin
网站
1.
工程所在git库:https://gitlab.dnetlab.com/siteview/SITEVIEW_Website
1.
工程所在git库:http://git.vlan.cn/xiaohong.liu/weadmin_gatsby.git
2.
代码所在目录:SITEVIEW
2.
网站服务器:106.13.204.54:8900 目录:/home/website/weadmin_gatsby
3.
程序运行:gatsby develop(start.bat)
3.
测试环境:192.168.9.136 目录: /gatsby/weadmin_gatsby/weadmin
访问地址: http://localhost:8000
4.
开发程序运行:gatsby develop -p 9001 -H 0.0.0.0(start.bat)
4.
打包:gatsby build (build.bat)
访问地址: http://192.168.9.136:9001
5.
打包:gatsby build (build.bat)
打包文件 public
打包文件 public
另注意每次打包时需要先删除.cache和public文件,重新生成缓存文件及打包文件,
另注意每次打包时需要先删除.cache和public文件,重新生成缓存文件及打包文件,
5.
测试查看打包后的可运行本地静态服务gatsby serve(serve.bat),默认端口是9000,访问localhost:9000
6.
测试查看打包后的可运行本地静态服务gatsby serve(serve.bat),默认端口是9000,访问localhost:9000
指定端口或主机可配置 gatsby serve -p 9001 -H 127.0.0.1
指定端口或主机可配置 gatsby serve -p 9001 -H 127.0.0.1
6.
部署:
7.
部署:
weadmin.com部署百度云服务器
weadmin.com部署百度云服务器
7.
项目中所用阿里图标项目 siteview_website
8.
项目中所用阿里图标项目 siteview_website
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