We're so glad you want to self host Portfoliwoah! Here are the steps to get started.
- Create a Vercel account
- Create a Supabase account or another Postgres database
- Create a Upstash account
- Create a Vercel Blob bucket
- Fork this repo
- Clone your forked repo to your local machine
- Run
yarn
to install all the packages - Run
yarn dev
to start the server - Create a
.env
file in the root of the project - Add the following to your
.env
file:
// You can use Resend, Postmark, Sendgrid, etc.
NEXT_PUBLIC_EMAIL_SERVER_USER=[SMTP username]
NEXT_PUBLIC_MAIL_SERVER_PASSWORD=[SMTP password]
NEXT_PUBLIC_EMAIL_SERVER_HOST=[SMTP host]
NEXT_PUBLIC_EMAIL_SERVER_PORT=[SMTP port]
NEXT_PUBLIC_EMAIL_FROM=[Email address to send emails from]
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_URL_INTERNAL=http://localhost:3000
NEXTAUTH_SECRET=[Random string]
DATABASE_URL=[Postgres URL from Supabase]
UPSTASH_URL=[Upstash URL]
UPSTASH_TOKEN=[Upstash token]
BLOB_READ_WRITE_TOKEN=[Vercel Blob token]