Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 712 Bytes

readme.md

File metadata and controls

22 lines (15 loc) · 712 Bytes

Serve.sh

Serve any directory as a public HTTP web site

serve.sh can serve a Laravel site if your target directory is a Laravel project and a php environment can be detected, otherwise the directory will be serve as a simple static website

Requirements

  1. install python from https://www.python.org/downloads/
  2. download cloudflared from https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/installation/
  3. place the cloudflared to any directory which is included in your system env $PATH

Install

  1. download serve.sh to any place

Usage

sh your-path/serve.sh -d dir-path [-p your-port]