[ ] - Consolidate custom CSS into single static file [ ] - Delete all unused pages (perhaps updates/travel) [ ] - add some humor
# Clone
git clone git@github.com:trentwiles/trentwiles.com.git
# Install Dependencies
npm i
# Create .env File
cp .env.example .env
# Add Github Personal Access token
echo 'GITHUB_API="..."' > .env
# Add hetrix.tools API token (optional)
echo 'HETRIX_API="..."' > .env
# Now you're ready to build!git pull
npx @11ty/eleventy # outputs to _sitesudo groupadd webadmins
sudo usermod -a -G webadmins [YOUR_USERNAME]
sudo usermod -a -G webadmins caddy
sudo chown -R trent:webadmins /home/trent/trentwiles.com
sudo find /home/trent/trentwiles.com -type d -exec chmod 775 {} \;
For automated builds, consider running the provided cron.sh file every hour.