https://github.com/anthonyec/archive
https://github.com/anthonyec/archive
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anthonyec/archive
- Owner: anthonyec
- Created: 2021-11-05T23:50:12.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-23T21:00:26.000Z (over 4 years ago)
- Last Synced: 2025-06-12T08:06:32.182Z (12 months ago)
- Language: HTML
- Size: 8.64 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Archive](https://anthonycossins.com/archive)
An archive of projects that I've worked on. This does not contain everything and this is **not** a portfolio. It's a place of preservation to say "hey, these things existed".
It is built to work as a separate website from [my main one](https://anthonycossins.com). This is so the archive can be a bit more resilient, hosted independently which allows my main site to change without affecting this.
## Setup
The site uses my own static site generator called [static_build](https://github.com/anthonyec/static_build). Another thing to hopefully improve resiliency (or cause headaches).
```sh
npm ci
```
Run the dev server.
```sh
NODE_ENV=dev npm run start
```
The `NODE_ENV=dev` is required to ensure it does not use the `baseUrl` and `assetsBaseUrl`.
Use a separate HTTP server to view the site locally. I like using `http-server`.
```sh
npx http-server -c-1 ./dist -p 8081
```
## Hosting
It is available at [anthonycossins.com/archive](https://anthonycossins.com/archive) using some Netfliy `_redirect` magic and [hacked together](src/config.js) [URL stuff](/src/_layouts/project.html) found the HTML templates.