78 lines
1.6 KiB
Markdown
78 lines
1.6 KiB
Markdown
# Web3 CV
|
|
|
|
A simple web page for my Web3 CV.
|
|
|
|
## Deployment
|
|
|
|
This website is deployed to:
|
|
- [boilerhaus.org](https://boilerhaus.org) - Primary domain on VPS
|
|
- [chriswylde.xyz](https://chriswylde.xyz) - Secondary domain on Vercel (manually deployed)
|
|
|
|
## Setup Instructions
|
|
|
|
### Initial Setup
|
|
|
|
1. Clone the repository:
|
|
```bash
|
|
git clone https://git.boilerhaus.org/boiler/Web3CV.git
|
|
cd Web3CV
|
|
```
|
|
|
|
2. Install dependencies:
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
3. Set up the VPS:
|
|
```bash
|
|
./setup-vps.sh
|
|
```
|
|
This 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)
|
|
|
|
4. Migrate to Gitea:
|
|
```bash
|
|
./migrate-to-gitea.sh
|
|
```
|
|
This script will:
|
|
- Create a new repository on your Gitea instance
|
|
- Push your code to Gitea
|
|
|
|
### Development
|
|
|
|
1. Run the development server:
|
|
```bash
|
|
npx parcel index.html
|
|
```
|
|
|
|
2. Open [http://localhost:1234](http://localhost:1234) in your browser.
|
|
|
|
### Deployment
|
|
|
|
1. Deploy to VPS:
|
|
```bash
|
|
./deploy-all.sh
|
|
```
|
|
This script will:
|
|
- Build the site
|
|
- Deploy to your VPS
|
|
- Push changes to Gitea
|
|
|
|
2. Deploy only to VPS (same as above):
|
|
```bash
|
|
./deploy.sh
|
|
```
|
|
|
|
## Repository Management
|
|
|
|
This repository is hosted on a self-hosted Gitea instance at git.boilerhaus.org.
|
|
|
|
### Remote Setup
|
|
|
|
Your remote is configured as:
|
|
- `origin`: Your Gitea repository (https://git.boilerhaus.org/boiler/Web3CV.git)
|