1 Star 0 Fork 9

fuhm / Franchise

forked from Gitee 极速下载 / Franchise 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
DEPLOYING_LOCALLY.md 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
Guillermo Webster 提交于 2017-10-16 12:42 . Update DEPLOYING_LOCALLY.md

If you want to try franchise out, there's an online version you try right now right here.

If you're interested in contributing, there are instructions for running franchise in development mode in the readme.

Otherwise...

Deploying Locally

  1. If you don't have npm or yarn, install yarn.

  2. Open up a terminal and run

    git clone --depth 1 https://github.com/HVF/franchise.git
  3. cd into the project directory

    cd franchise
  4. Install the project dependencies

    yarn install

    (you can also run npm install)

  5. Build franchise to static files

    yarn build

    This command makes a folder named /bundle containing an index.html file which runs franchise when you open it in a browser.

  6. Serve the static files

    Use the http server of your choice to serve the contents of the /bundle directory. Using python, you might write:

    cd bundle
    python -m SimpleHTTPServer
  7. (optional) Email us at sql@hvflabs.com if you're doing something interesting with franchise!

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/fuhm_star/Franchise.git
git@gitee.com:fuhm_star/Franchise.git
fuhm_star
Franchise
Franchise
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891