git clone https://github.com/xulioc/sveltekit-multitenant-rbac.git
cd sveltekit-multitenant-rbac
Create a new .env
file
cp .env.example .env
Edit your .env
file
# MANDATORY VARIABLES
PRIVATE_POSTGRES_URL="postgresql://<YOUR POSTGRESS URL>"
pnpm db:generate
pnpm db:push
To start in development mode:
pnpm dev
To build and start in production mode:
pnpm build
pnpm preview
To deploy to Vercel please follow instructions here.
Feel free to contribute. Issues and Pull Requests are welcome.