/aadittambe.com

👨🏽‍💻 Codebase for the current iteration of my personal website, built with Next.js and ArchieML

Primary LanguageJavaScript

👨🏽‍💻 My website

Codebase for my personal website.

The site is scaffolded with Next.js and uses ArchieML as a micro CMS, so I can catch typos easily. A GitHub Action automatically builds and deploys this site to my FTP server when changes are pushed to the repository because I like automation.

🧰 Development

Download the code:

git clone https://github.com/aadittambe/aadittambe.com.git

Install npm dependencies:

npm install

This site uses a Google Doc as an ad-hoc CMS. To fetch data from the Google Doc — thanks to this script from The Pudding which uses ArchieML — run:

npm run download

Start the development server:

npm run start

🛠️ Build site

A GitHub Action automatically builds (and deploys the site to my FTP server) when changes to this repository are pushed to GitHub (on the main branch). However, to manually build it for local testing, run:

npm run build

🪖 Deploy site

The same GitHub Action mentioned in the earlier step deploys it to my FTP server with ftp-deploy when changes are pushed to the main branch. However, to manually deploy, you can run:

npm run deploy

🤖 Happy hacking

Feel free to reach out at aadit (dot) tambe (at) gmail (dot) com.