会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
shenggen
1
2
3
4
5
···
8
下一页
2018年4月11日
ThinkPHP5.0 用docker部署
摘要: Dockerfile 文件如下: 以上镜像是自己根据centos-php56+nginx 修改的。 docker 生成镜像,启动命令如下 -v 是为了把里面的文件映射到外面来,为了方便修改本机代码,立即生效用的--发布时不需要,应当去掉,对于本地没有安装php环境的同学是需要的。
阅读全文
posted @ 2018-04-11 13:59 shenggen
阅读(1992)
评论(0)
推荐(0)
2017年11月10日
antd-mobile的例子--cnode
摘要: antd-mobile 简单的例子 预览地址 https://shenggen1987.github.io/antd-mobile-roadhog/#/crm/pages/users github源码地址 https://github.com/shenggen1987/antd-mobile-roa
阅读全文
posted @ 2017-11-10 16:28 shenggen
阅读(411)
评论(0)
推荐(0)
2017年9月18日
dva+antd写的一个react例子--服务器nginx 的配置
摘要: 以上是nginx的配置 以上是.roadhogrc的配置 /^(?!.*\.(css|js)).*$/ 正则不包含的css或者js 的正则
阅读全文
posted @ 2017-09-18 20:44 shenggen
阅读(553)
评论(0)
推荐(0)
2017年9月7日
dva+antd写的一个react例子
摘要: github地址 https://github.com/shenggen1987/dva-cli-demo 效果图片
阅读全文
posted @ 2017-09-07 21:15 shenggen
阅读(444)
评论(0)
推荐(0)
2017年8月1日
react create app ,nginx服务器配置
摘要: 增加了一个 location 用来配置uri里头有html的,我用html来标识是否是客户端页面。 通过rewrite .* /index.html break;把一切path重写为/index.html,break很重要,它使得url的匹配结束,最终服务返回的文档其实是/home/hard/Pro
阅读全文
posted @ 2017-08-01 15:31 shenggen
阅读(365)
评论(0)
推荐(0)
2017年7月18日
使用 Node.js 对文本内容分词和关键词抽取
摘要: npm install nodejieba var nodejieba = require("nodejieba"); var result = nodejieba.cut("帝国主义要把我们的地瓜分掉"); console.log(result); //[ '帝国主义', '要', '把', '我
阅读全文
posted @ 2017-07-18 17:15 shenggen
阅读(522)
评论(0)
推荐(0)
2017年6月1日
Docker dubbo 服务注册
摘要: vim run.sh #!/bin/baship=`ifconfig eth0 |grep "inet"|awk '{print $2}'`hn=dubbo-service-provider docker run -d -it --name sku -p 8090:8080 -v /srv/logs
阅读全文
posted @ 2017-06-01 14:25 shenggen
阅读(330)
评论(0)
推荐(0)
2017年4月25日
wecenter 问答社区 dockerfile,不用纠结于物理机的运行环境
摘要: Dockfile文件内容,参考如上 images打包 docker build --tag="hub.qjdchina.com/qjd/wecenter:v0.0.1" ./ 启动 docker run -d -p 90:80 -e NODE_ENV=dev -v /Users/xiexuemei/
阅读全文
posted @ 2017-04-25 16:32 shenggen
阅读(346)
评论(0)
推荐(0)
2017年2月15日
node.js---sails项目开发(6)--- 实现分页功能
摘要: 只需要添加一个文件即可 api/blueprints/find.js 代码如下 重写路由(/:modelIdentity/find) 查看效果,请输入如下链接, 详情 请看我的github https://github.com/shenggen1987/sails-demo.git http://l
阅读全文
posted @ 2017-02-15 17:50 shenggen
阅读(528)
评论(1)
推荐(0)
dockerfile nginx配置
摘要: Dockerfile 代码 nginx.conf 代码
阅读全文
posted @ 2017-02-15 11:08 shenggen
阅读(2016)
评论(0)
推荐(0)
1
2
3
4
5
···
8
下一页
导航
博客园
首页
新随笔
联系
订阅
管理
公告