Source for Tapestry website and documentation
This is the source code repository for the documentation website tapestry.cloud. It provides documentation for the Tapestry static site generator.
This project is quite old and uses an outdated version of PHP and Node having been built when Node v10 and PHP 7.4 were in use. As such I recommend using Docker to build the website locally.
If you still want to build the website locally, you'll need to install Node v10 and PHP v7.4 befoe running the following commands:
# Clone a local copy of this repository
git clone https://github.com/tapestry-cloud/tapestry-cloud-src.git
# Install PHP dependencies (for Tapestry) and node dependencies (for building assets)
composer install && yarn install
# Execute the build task with gulp
gulp build
# Use the basic http server built into PHP to serve the content of `build_local` to 127.0.0.1:3000
php -S 127.0.0.1:3000 -t build_localIn 2025, I added a Dockerfile to this project so that it can be built within a container and run locally. To build the image and run the container, run the following commands:
# Clone a local copy of this repository
git clone https://github.com/tapestry-cloud/tapestry-cloud-src.git
# Build the image
docker build -t tapestry-website .
# Run the container
docker run -it -p 80:3000 tapestry-website