全球主机交流论坛

标题: 求教安装此源码,500金币 [打印本页]

作者: carlace    时间: 2017-1-6 18:32
标题: 求教安装此源码,500金币
求教安装此源码,500金币

https://github.com/ShanghaitechGeekPie/fresh
作者: DeepSkyFire    时间: 2017-1-6 18:33
金幣什麼時候這麼值錢了?
作者: wechat    时间: 2017-1-6 18:40
有docker吗
作者: carlace    时间: 2017-1-6 18:47
wechat 发表于 2017-1-6 18:40
有docker吗


作者: J3n5en    时间: 2017-1-6 20:32
react写的,编译以后其实就是静态文件。。。
作者: carlace    时间: 2017-1-7 17:28
J3n5en 发表于 2017-1-6 20:32
react写的,编译以后其实就是静态文件。。。

求解编译方式??
作者: Indexyz    时间: 2017-1-7 18:13
carlace 发表于 2017-1-7 17:28
求解编译方式??

不是写明了么  装好Nodejs 直接

  1.     git clone https://github.com/ShanghaitechGeekPie/fresh.git
  2.     && cd fresh
  3.     && npm install
  4.     && npm run build
  5.     && mv dist/assets/index.html dist/
  6.     && rm -rf node_modules
复制代码

或者

  1.     git clone https://github.com/ShanghaitechGeekPie/fresh.git
  2.     && cd fresh
  3.     && npm install
  4.     && npm start
  5. # visit http://127.0.0.1:8989
复制代码

作者: rpsoft    时间: 2017-1-7 19:28
他写的很清楚了。。。。
要么你直接docker   
要么你 vps 安装 nginx 、nodejs、curl   之后按说明文档里  你按Dockerfile和说明做就行,,,

本来想搭个演示给你  不过daocloud镜像构建时间 够长的,,现在还是正在执行,,那就算了。。

此外 内容和 网站图片都在 src/markdown  你自己看着修改。。。


作者: carlace    时间: 2017-1-7 19:30
Indexyz 发表于 2017-1-7 18:13
不是写明了么  装好Nodejs 直接

或者

这个是在VPS安装还是在docker
作者: zzr    时间: 2017-1-7 20:12
  6666666信院爸爸还提供科学上网服务,良心学校呀。。。。。




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4