Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.76 KB

README.md

File metadata and controls

43 lines (27 loc) · 1.76 KB

Fluid Project Website

Netlify Status

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.

To Build Locally

  1. Get the required node modules: npm install
  2. Run 11ty from the fluid-website directory npm run start.
  3. Open http://localhost:8080/ to see the website.

To build locally using Docker

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.

To deploy to a personal webserver

  1. Run: npm run build
  2. Copy the contents of ./_site/ directory to your server.

Notes

  • 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.

License

The Fluid Project website is available under Creative Commons Attribution License.