1.8 KiB
1.8 KiB
Web3 CV
A simple web page for my Web3 CV.
Deployment
This website is deployed to:
- boilerhaus.org - Primary domain on VPS
- chriswylde.xyz - Secondary domain on Vercel
Setup Instructions
Initial Setup
-
Clone the repository:
git clone https://github.com/boilerrat/Web3CV.git cd Web3CV -
Install dependencies:
npm install -
Set up the VPS:
./setup-vps.shThis script will:
- Check if Nginx and Certbot are installed on your VPS
- Create the necessary directories
- Configure Nginx for boilerhaus.org, cloud.boilerhaus.org, and git.boilerhaus.org
- Set up SSL certificates using Let's Encrypt
- Configure Nextcloud to use cloud.boilerhaus.org (if installed)
-
Migrate to Gitea:
./migrate-to-gitea.shThis script will:
- Create a new repository on your Gitea instance
- Push your code to Gitea
- Set up the remotes for both Gitea and GitHub
Development
-
Run the development server:
npx parcel index.html -
Open http://localhost:1234 in your browser.
Deployment
-
Deploy to both VPS and Vercel:
./deploy-all.shThis script will:
- Build the site
- Deploy to your VPS
- Push changes to both Gitea and GitHub
-
Deploy only to VPS:
./deploy.sh
Repository Management
This repository is hosted on a self-hosted Gitea instance. GitHub is used as a secondary remote for Vercel deployment.
Remote Setup
After migration, your remotes will be configured as:
origin: Your Gitea repository (git@git.boilerhaus.org:boilerrat/Web3CV.git)github: Your GitHub repository (for Vercel deployment)