Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/samualtnorman/hackmud-chat-web.
Something went wrong. Try again.
Files
- TypeScript 99%
- CSS <1%
README.md
Create JD App #
This project was created using Create JD App
Deploying #
Vercel Adapter (or any other adapter that solid-start supports) #
Installing #
npm install -D solid-start-vercel@latest
Adding to vite config #
import solid from "solid-start/vite";
import { defineConfig } from "vite";
// @ts-ignore
import vercel from "solid-start-vercel";
export default defineConfig({
plugins: [solid({ ssr: false, adapter: vercel({ edge: false }) })],
});
Enviroment Variables #
ENABLE_VC_BUILDset to1.- If you are using prisma:
DATABASE_URLset to yourdatabase url.
In Case You Are Using Prisma #
i created a script that will copy prisma schema to the vercel output folder, if you are using different service please modify the postbuild script in package.json and make sure you copy the scheme to the output folder.
You Are Done #
Create a github repo and push your code to it, then deploy it to vercel (: