Mac - Single Command Web Server
macOSRunning the following command will start a web server in the current directory:
python -m SimpleHTTPServer 8000
OR for python3 use:
python3 -m http.server
Then visit http://localhost:8000/ in your browser.
_data/metadata.json
with your site's information..eleventy.js
with your configuration preferences._includes/layouts/base.njk
.This is an Eleventy project created from the eleventy-starter
repo.
Running the following command will start a web server in the current directory:
python -m SimpleHTTPServer 8000
OR for python3 use:
python3 -m http.server
Then visit http://localhost:8000/ in your browser.