Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 407 Bytes

quick-web-root.md

File metadata and controls

10 lines (8 loc) · 407 Bytes

Cookbook: Quick start: Using alternate HTTP web-root

You can combine several of the codes from Config files with alternate the HTTP web-root (e.g. HTTPD_ROOT=$HOME/src/webapp, nix-shell, loco init -f, loco run) and make one pithy variant:

$ git clone https://github.com/totten/locolamp
$ cd locolamp
$ env HTTPD_ROOT=$HOME/src/webapp nix-shell --command 'loco run -f -v'