Skip to content

trentwiles/trentwiles.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trentwiles.com

Installing

# Clone
git clone [email protected]:trentwiles/trentwiles.com.git

# Install Dependencies
npm i

# Create .env File
cp .env.example .env

# Add Github Personal Access token
echo 'GITHUB_API="..."' > .env

# Now you're ready to build!

Building

git pull
npx @11ty/eleventy # outputs to _site

Giving Caddy Server Permission

sudo 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 {} \;