V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
carlace
V2EX  ›  问与答

请问一下这个应该怎么部署到 daocloud?

  •  
  •   carlace · 2017-01-06 13:53:25 +08:00 · 1528 次点击
    这是一个创建于 2873 天前的主题,其中的信息可能已经有所发展或是发生改变。

    原文链接: https://www.v2ex.com/t/294498#reply33

    github 里面的源码应该怎么样部署到 daocloud ,需要什么条件。 https://github.com/ShanghaitechGeekPie/fresh

    里面的 README.md 看不懂 fresh

    上海科技大学新生生存手册

    Deploy

    this project is using docker.

    please read Dockerfile before you try to deploy it.

    the most important script is

    cd fresh && npm install && npm run build && mv dist/assets/index.html dist/ && rm -rf node_modules Node

    Environment

    node >= 4 is needed and we suggest

    node >= 6 Code Style

    https://github.com/airbnb/javascript

    Develop

    make sure you have run npm install before developing.

    npm start 访问 http://127.0.0.1:8989

    please remove line 52 ~ 57 in webpack.config.js and change path to relative path in src/entries/index.html before you start server.

    Build

    npm run build Markdown

    using markdown-it and parseMd

    file is located at src/markdown

    2 条回复    2017-01-06 16:47:12 +08:00
    isCyan
        1
    isCyan  
       2017-01-06 14:38:57 +08:00
    fork, create a project on daocloud with the url of your repo, build, run...
    carlace
        2
    carlace  
    OP
       2017-01-06 16:47:12 +08:00
    @isCyan 可是 404 ,是怎么回事
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1388 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 17:34 · PVG 01:34 · LAX 09:34 · JFK 12:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.