Foxtrot Lima Activations
Foxtrot Lima Activations. Served up at https://activations.fldx.org and hosted on Netlify
This site is comprised of static files generated by Eleventy for simplified deployment and hosting.
To build the site you need:
# clone this repository
git clone https://github.com/teear/activations.fldx.org.git
# go to the working directory
cd activations.fldx.org
# install dependencies
npm install
# start a local build server with hot reloading
npm start
Run a development server
npm start or npm run dev
Run a development server with production settings
npm run prod
Build the site
npm run build
Delete the dist
directory
npm run clean
Note that images are not copied automatically to dist
from src
by
Eleventy, npm run build:images
handles image compression (reads fromsrc
and outputs to dist
).
The build command npm run build
will generate a set of static assets in a dist
folder which can be deployed to any web hosting service.
My preferred method is to host on Netlify which can run this build process in a CI environment and then deploy the build automatically to a global CDN. Such deployments are triggered automatically by every git push to the master
branch of the origin repository.