Setup
Setup is pretty simple, follow the steps below to get started.
-
Clone the repository:
Terminal window git clone https://github.com/freekrai/saaswindcd saaswindpnpm install -
Use the included setup script to create your
.envfile:Terminal window pnpm run db:setupThis will populate your
.envfile with the needed variables to get started. -
Then, run the database migrations and seed the database with a default user and team:
Terminal window pnpm db:migratepnpm db:seedWhen you walked through the setup steps above, it populated an
ADMIN_EMAILandADMIN_PASSWORDwith values you entered. These will be the initial user credentials created when you rundb:seed.
You can, of course, create new users as well through/signup. -
Finally, run the Astro development server:
Terminal window pnpm run devOpen http://localhost:3000 in your browser to see the app in action.