Docs
Installation

Installation

How to install the project.

Clone project

Start by cloning the repository:

git clone https://github.com/foulware/foulware.git

Install dependencies

Enter in the folder and install dependencies for your project:

cd my-saas-project
bun install

Create a .env file

Copy/paste the .env.example in the .env file:

.env
NEXT_PUBLIC_APP_URL=http://localhost
 
AUTH_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_OAUTH_TOKEN=
 
DATABASE_URL=
 
GMAIL_USER=
GMAIL_APP_PASSWORD=
EMAIL_FROM=
 
STRIPE_API_KEY=
STRIPE_WEBHOOK_SECRET=
 
NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID=
NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID=
NEXT_PUBLIC_STRIPE_BUSINESS_MONTHLY_PLAN_ID=
NEXT_PUBLIC_STRIPE_BUSINESS_YEARLY_PLAN_ID=

Configuration part

Let's check the configuration part for update all environment variables before use bun run dev.