This repository contains the files needed to build a copy of the Fluid Project website, it is not an immediately deployable version of the website. 11ty is used to build the site from source files.
- Get the required node modules:
npm install
- Run 11ty from the fluid-website directory
npm run start
. - Open
http://localhost:8080/
to see the website.
You can serve the website from a Docker container.
Once you have Docker installed, run the following commands to build a Docker image and start a container:
- Build the image:
docker build -t fluidproject .
- Run the container:
docker run --name fluidproject -p 8000:80 fluidproject
The website will be available at http://localhost:8000
If you make changes to the website, repeat the steps to build the image and start a new container.
- Run:
npm run build
- Copy the contents of
./_site/
directory to your server.
- Modifications can be done to any source file or directory except for the contents of the
_site
directory. - The
_site
directory is not versioned since it contains the generated output made by 11ty from the source files, and the files in_site
are overwritten at build time. - The changed source files in _site directory gets overwritten at build time.
The Fluid Project website is available under Creative Commons Attribution License.