# Install and configure ETJAH_APP

Follow the source instructions for **ETJAH_APP**. Read the prerequisites and configuration steps before running an example.

## Installation

Clone & create this repo locally with the following command:

```bash
npx create-next-app my-saas-project --example "https://github.com/mickasmt/next-auth-roles-template"
```

Or, deploy with Vercel:

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmickasmt%2Fnext-auth-roles-template)

### Steps

1. Install dependencies using pnpm:

```sh
pnpm install
```

2. Copy `.env.example` to `.env.local` and update the variables.

```sh
cp .env.example .env.local
```

3. Start the development server:

```sh
pnpm run dev
```

4. Remove parts you don't want

You can use the command `pnpm run remove-content` in your terminal to remove specific parts of your project. This command supports the following parameters:

- **--blog**: Removes the blog section from your project.
- **--docs**: Removes the documentation section from your project.

#### Recommendations

- **Remove Both Sections**: It is recommended to use `pnpm run remove-content` without specifying parameters (`--blog` or `--docs`). This ensures that all associated documents are properly removed, as some documents may not be deleted/updated if you remove "blog" after "docs" or vice versa.

#### Examples

1. To remove both the blog and documentation sections:

```bash
pnpm run remove-content
```

2. To remove only the blog section:

```bash
pnpm run remove-content --blog
```

3. To remove only the documentation section:

```bash
pnpm run remove-content --docs
```

> [!NOTE]  
> I use [npm-check-updates](https://www.npmjs.com/package/npm-check-updates) package for update this project.
>
> Use this command for update your project: `ncu -i --format group`

## Check the installation

After setup, continue with the [first example](/docs/up-to-code-etjah_app/quick-start-guide). If a command fails, compare the runtime version, working directory, and required configuration with the original README before changing dependencies.

## Source and help

- [GitHub repository](https://github.com/qentrah/ETJAH_APP)
- [Original README](https://github.com/qentrah/ETJAH_APP/blob/master/README.md)
- [Issues and existing reports](https://github.com/qentrah/ETJAH_APP/issues)
- [Open the project website](https://etjah-app-8zj1.vercel.app)

The catalog identifies the license as **MIT**. Read the repository license before redistributing source or assets.