This is the repository for the Ace Archive website. You can find more information about the project here.
This website is a Hugo static site based on the Doks theme.
This repo contains the static site itself. The project's backend services, tools, and infrastructure can be found in the following repos:
- artifact-submit-action: This is a GitHub Action which uploads submitted artifacts to the site once they're manually approved.
- artifact-submissions: This is where new artifacts are submitted for approval. Users create submissions via the artifact submission form, which generates a JSON file that is checked into this repo.
- files-worker: This is a serverless function which serves artifact files from object storage.
- api-worker: This is a serverless function which serves the REST API.
- submission-worker: This is a serverless function used to import metadata from artifact submissions into the database.
- hugo-artifact-action: This is a GitHub Action which converts dynamic content into static pages for the static site generator.
- yahoo-groups-reader: This is a CLI tool for building a static site from a Yahoo Groups archive. This was purpose-built for Haven for the Human Amoeba.
- infra: This repo contains the Terraform config for the site's infrastructure.
To build the site, make sure npm is installed and run:
npm install
npm run build
The site will be built at ./public
.
To start a server for local development, run:
npm run server
The site will be served on port 1313
.