This is my personal website.
Domain is registered through Namecheap.
Hosting is through Digital Ocean
Pre-reqs:
- NPM and NodeJS
- Python3
Running:
- Clone the repository
- Run
npm install
- Run
npm run build
- Server the
www
directory as the root directory of a webserver (python3 -m http.server
)
Deploying is done through Github Actions. Explained:
- GHA will SSH into my Digital Ocean box (using private SSH Keys)
- GHA will sync the /opt/personalwebsite directory
- NGINX will see the changes and update accordingly, serving out of the /
Too hands on, can automate this.
- Add
.hbs
file in/views
directory - Add link to URL in the
header.hbs
file - Add compilation file to
build.js
file - (If Javascript) Add compilation info to Rollup
All of this could 100% be automated away.
-
Easy to write things
-
Flexible frontend, can make experiments
-
timedistance / worldbuilder continue to work and are ported
-
No scss
Things to change about existing site:
-
Colors
-
Favicon (do pixel art yo)
-
Link to my itch.io projects
-
Simplify header
-
lafferty.dev
in the top left should be a link to the homepage -
rename
dnd worldbuilder
toRegion Generator
-
Fix scroll down changing the color of the footer
-
delete medieval demographics page
-
delete or rewrite clock tracker
-
inline all unpkg stuff, host scripts directly