Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"plugins": [
"prettier-plugin-tailwindcss"
]
}
"plugins": ["prettier-plugin-tailwindcss"]
}
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ git clone https://github.com/code100x/cms.git
```bash
cd cms
```

# Instant Docker Setup

> [!NOTE]
Expand Down Expand Up @@ -51,15 +52,12 @@ docker run -d \
-p 5432:5432 \

postgres
```


```

1. Create a .env file:

- Copy `.env.example` and rename it to `.env`.


2. Install dependencies:

```bash
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ services:
volumes:
- postgres-data:/var/lib/postgresql/data
healthcheck:
test: [ 'CMD-SHELL', 'pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}' ]
test: ['CMD-SHELL', 'pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}']
interval: 10s
timeout: 5s
retries: 5

volumes:
postgres-data:
postgres-data:
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"katex": "^0.16.11",
"lucide-react": "^0.321.0",
"moment": "^2.30.1",
"next": "14.0.2",
"next": "^14.2.20",
"next-auth": "^4.24.5",
"next-themes": "^0.2.1",
"nextjs-toploader": "^1.6.11",
Expand All @@ -75,7 +75,7 @@
"react-dom": "^18",
"react-hook-form": "^7.50.1",
"react-icons": "^5.1.0",
"react-notion-x": "^6.16.0",
"react-notion-x": "^7.2.5",
"react-resizable-panels": "^1.0.7",
"recoil": "^0.7.7",
"sonner": "^1.4.0",
Expand All @@ -87,6 +87,7 @@
"videojs-mobile-ui": "^1.1.1",
"videojs-seek-buttons": "^4.0.3",
"videojs-sprite-thumbnails": "^2.1.1",
"vite": "^6.0.3",
"zod": "^3.22.4"
},
"devDependencies": {
Expand All @@ -100,7 +101,8 @@
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"jsdom": "^24.0.0",
"prettier": "^3.2.4",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"prisma": "^5.18.0",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.2",
Expand Down
Loading
Loading