Codebase for my personal website.
The site is scaffolded with create-react-app 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.
Download the code:
git clone https://github.com/aadittambe/graphics-starter.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
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
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
Feel free to reach out at aadit (dot) tambe (at) gmail (dot) com.