40 lines
695 B
Markdown
40 lines
695 B
Markdown
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
|
|
|
|
## Getting Started
|
|
|
|
### 1. Create .env file
|
|
|
|
You can create `.env` file based on `env` file, put some env variable that is required by payload cms.
|
|
|
|
### 2. Run
|
|
|
|
You can run the development server with old bundler:
|
|
|
|
```bash
|
|
npm run dev-old
|
|
|
|
```
|
|
|
|
or run the development server with new bundler (turbopack):
|
|
|
|
```bash
|
|
npm run dev
|
|
|
|
```
|
|
|
|
### 3. Open
|
|
|
|
You can access it by visiting:
|
|
|
|
```
|
|
http://localhost:3000
|
|
```
|
|
|
|
## Admin Panel
|
|
|
|
The admin panel has been provided by `Payload CMS`, you can access it by visiting:
|
|
|
|
```
|
|
http://localhost:3000/admin
|
|
```
|