107c60e592 | 4 weeks ago | |
---|---|---|
.github/workflows | 4 weeks ago | |
.yarn/releases | 4 weeks ago | |
app | 4 weeks ago | |
public | 4 weeks ago | |
.dockerignore | 1 year ago | |
.eslintrc.json | 2 years ago | |
.gitignore | 1 year ago | |
.yarnrc.yml | 4 weeks ago | |
CONTRIBUTING.md | 2 years ago | |
Dockerfile | 4 weeks ago | |
LICENSE | 2 years ago | |
README.md | 1 year ago | |
flake.lock | 1 year ago | |
flake.nix | 1 year ago | |
next.config.js | 1 year ago | |
package.json | 4 weeks ago | |
postcss.config.js | 2 years ago | |
tailwind.config.js | 1 year ago | |
tsconfig.json | 1 year ago | |
yarn.lock | 4 weeks ago |
README.md
My Personal Website
✨ https://goudham.com ✨
Believe it or not, this is what I'd consider to be my first "project" involving modern front-end technologies. I don't have much experience with the tech stack that I've chosen here or even front-end development in general.
I hope this maybe, just maybe inspires someone else to just throw themselves into a project and have some fun along the way :D
Also, technically, this is a work-in-progress but shh...
Dependencies
- NodeJS 20
- Yarn
- (Optional) Container Orchestration Tool (e.g. Docker)
If you're a filthy Nix/NixOS user, you can take advantage of the flake.nix by
running nix develop
to automatically get a shell with all the required dependencies.
Building
-
Install the required dependencies via
yarn
yarn install
-
Run the development server
yarn dev
If you're a containers type of person, you can instead run the server via the provided Dockerfile:
yarn docker:preview # or yarn docker:release
Deployment
This is mostly for me when I revisit this godforsaken project in 7 months having forgotten everything :P
This repository has 2 workflow files:
- preview.yml - This workflow is triggered on every pushed commit to the main branch.
- The website is built and deployed to docker hub as
sgoudham/website:preview
- My server automatically pulls the latest image from the
preview
tag and deploys it underhttps://preview.goudham.com
.
- The website is built and deployed to docker hub as
- release.yml - This workflow is triggered on any pushed tag.
- The website is built and deployed to docker hub as
sgoudham/website:<tag>
. - My server automatically pulls the latest tag
<tag>
and deploys it underhttps://goudham.com
.
- The website is built and deployed to docker hub as
Contributing
See CONTRIBUTING.md