1️⃣ Install Prerequisites in Ubuntu WSL
# update system
sudo apt update && sudo apt upgrade -y
# install essentials
sudo apt install -y curl git build-essential pkg-config libssl-dev
2️⃣ Install GitHub Repo
Go to GitHub → create a public repo named:
work-ethic-gauntlet
#Clone it into WSL:
git clone https://github.com/<your-username>/work-ethic-gauntlet.git
cd work-ethic-gauntlet
3️⃣ Add Base Files
#Inside the repo, create the starter files:
echo "# Work Ethic Gauntlet" > README.md
echo "# Daily Log" > DAILY.md
echo "# Runbook (setup + troubleshooting)" > Runbook.md
#Then push them:
git add .
git commit -m "Initial commit with base files"
git push origin main
4️⃣ Install Node.js
#Recommended: use nvm (Node Version Manager).
# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# reload shell
source ~/.bashrc
# install latest LTS version of Node
nvm install --lts
node -v
npm -v
5️⃣ Install Foundry
curl -L https://foundry.paradigm.xyz | bash
source ~/.bashrc
foundryup
#Check:
forge --version
7️⃣ Fork a Minimal Foundry Template
On GitHub:
Find a minimal Foundry template (example: foundry-rs/forge-template).
Fork it.
Clone it inside your repo (or copy its contents into your work-ethic-gauntlet repo).
8️⃣ Build & Test
Run:
foundryup
forge build
forge test -vv
If everything works, you’ll see green ✅.
<img width="1233" height="734" alt="image" src="https://github.com/user-attachments/assets/3cad7a35-57e1-4549-9005-5b77730a5972" />
1. Fork a template on GitHub (web UI)
Go to GitHub and search “foundry template” or “foundry minimal template”.
Pick one that looks small and has foundry.toml, src/, and test/.
Click Fork (top-right). That puts the fork in your account.
2. Clone your fork into WSL and test it
# clone the fork
cd ~/projects
git clone https://github.com/salmaansaeed94/hardhat-foundry-template
cd hardhat-foundry-template/
# ensure Foundry is up-to-date
foundryup
# fetch any submodule-based libs (common)
git submodule update --init --recursive || true
# try installing dependencies (if repo expects it)
forge install || true
# If it gives warning like this:
forge install || true
Warning: Found unknown config section in foundry.toml: [default]
This notation for profiles has been deprecated and may result in the profile not being registered in future versions.
Please use [profile.default] instead or run `forge config --fix`.
Updating dependencies in /home/salman/work-ethic-gauntlet/projects/hardhat-foundry-template/lib
#Try fix
forge config --fix
# build and run tests
forge build
forge test -vv
> Install VS Code from Microsoft Store
=====================================================
Common Issues
Config warning about [default] in foundry.toml
→ Run forge config --fix
Tests fail due to missing dependencies
→ Run forge install
Git push fails with password error
→ Use a Personal Access Token (PAT) or set up SSH keyssalmaansaeed94/work-ethic-gauntlet
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|