Commit aa77fe26 authored by yuwen.yin's avatar yuwen.yin

commit

parent adba5546
......@@ -6,27 +6,30 @@
详情使用可查看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
另注意每次打包时需要先删除.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
6.部署:
7. 部署:
weadmin.com部署百度云服务器
7.项目中所用阿里图标项目 siteview_website
8. 项目中所用阿里图标项目 siteview_website
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment