Skip to content

Setup

Setup is pretty simple, follow the steps below to get started.

  1. Clone the repository:

    Terminal window
    git clone https://github.com/freekrai/saaswind
    cd saaswind
    pnpm install
  2. Use the included setup script to create your .env file:

    Terminal window
    pnpm run db:setup

    This will populate your .env file with the needed variables to get started.

  3. Then, run the database migrations and seed the database with a default user and team:

    Terminal window
    pnpm db:migrate
    pnpm db:seed

    When you walked through the setup steps above, it populated an ADMIN_EMAIL and ADMIN_PASSWORD with values you entered. These will be the initial user credentials created when you run db:seed.
    You can, of course, create new users as well through /signup.

  4. Finally, run the Astro development server:

    Terminal window
    pnpm run dev

    Open http://localhost:3000 in your browser to see the app in action.