This repository contains the source for my website.
Clone the repo first:
git clone https://github.com/jarrettgilliam/website
cd website
-
cd into the api folder:
cd src/api/Website
-
Restore the dependencies:
dotnet restore
-
Set the required app secrets:
dotnet user-secrets init dotnet user-secrets set "AppSecrets:ReCaptchaSecret" "SECRET" dotnet user-secrets set "AppSecrets:EmailLink" "mailto:[email protected]" dotnet user-secrets set "AppSecrets:ResumeLink" "https://www.example.com/resume.pdf"
-
Build the project:
dotnet build
-
Run the project:
dotnet run
-
cd into the web folder:
cd src/web
-
Restore the dependencies:
bun install
-
Run the project:
bun run dev
-
Set the required app secrets as environment variables:
export AppSecrets__ReCaptchaSecret='SECRET' export AppSecrets__EmailLink='mailto:[email protected]' export AppSecrets__ResumeLink='https://www.example.com/resume.pdf'
-
Run the included
docker-compose.yml
file:docker compose up -d
-
Open your browser and navigate to http://localhost:8080.
This project is licensed under the MIT License. See the LICENSE file for details.