Dynamic build and deployment on Vercel (#21)

* Make deployment doable on EUS and Vercel servers

* Revert to adapter-auto for now

* Remove `r/` layout file

* Fixing deployment configuration and landing page for redirects

* Clean up PR
This commit is contained in:
2025-06-18 22:09:00 -04:00
committed by GitHub
parent 60c63e3859
commit 4f982e7ce3
9 changed files with 68 additions and 60 deletions

View File

@@ -45,3 +45,16 @@ bun run dev
bun run build
bun run preview # to preview the production build
```
# Deployment
- Other than the deployment on EUS server with AWS Caddy, there are alternative ways to deploy the website!
## Docker
- Edit the `.env` file to include the `SANITY_ID` of the CMS
- From the root directory of the project
```sh
# Build the website with `nightly` tag
docker build -t ecsess-website:nightly .
docker run -p 4173:4173 ecsess-website:nightly
```
- The site should now be running on `localhost:4173`