Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement global search with cmdk and UI enhancements #1270

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
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
59 changes: 2 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ git clone https://github.com/code100x/cms.git

```

```bash

git clone https://github.com/code100x/cms.git

```

2. Navigate to the project directory:

```bash
Expand All @@ -42,12 +36,6 @@ cd cms

```

```bash

cd cms

```

3. Run the following command to start the application:

```bash
Expand All @@ -58,13 +46,7 @@ docker-compose up

```

```bash

docker volume create postgres-data # (optional) run this command if you face any mount volume / volume not exist error

docker-compose up

```
---

### Without Docker

Expand Down Expand Up @@ -120,35 +102,6 @@ cd cms

```

3. (Optional) Start a PostgreSQL database using Docker:

```bash

docker run -d \

--name cms-db \

-e POSTGRES_USER=myuser \

-e POSTGRES_PASSWORD=mypassword \

-e POSTGRES_DB=mydatabase \

-p 5432:5432 \

postgres

```

The connection URL for this setup will be:

```

DATABASE_URL=postgresql://myuser:mypassword@localhost:5432/mydatabase?schema=public

```

4. Create a `.env` file based on the `.env.example` file and configure the `DATABASE_URL` with your PostgreSQL connection string.

5. Install dependencies:

Expand Down Expand Up @@ -202,15 +155,7 @@ We welcome contributions from the community! To contribute to CMS, follow these

3. Make your changes and commit them (`git commit -am 'Add some fooBar'`).

> Before committing, ensure your code is properly formatted and linted:

> - Run `npm run lint:check` to check for lint errors

> - Run `npm run lint:fix` to automatically fix lint errors

> - Run `npm run format:check` to check code formatting

> - Run `npm run format:fix` to automatically fix formatting issues
---

> Before committing, ensure your code is properly formatted and linted:

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
"@discordjs/next": "^0.1.1-dev.1673526225-a580768.0",
"@hookform/resolvers": "^3.6.0",
"@icons-pack/react-simple-icons": "^9.4.0",
"@prisma/client": "^5.18.0",
"@prisma/client": "^5.19.1",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-navigation-menu": "^1.1.4",
Expand All @@ -61,6 +61,7 @@
"bcrypt": "^5.1.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"cmdk": "1.0.0",
"date-fns": "^3.6.0",
"dayjs": "^1.11.10",
"discord-oauth2": "^2.11.0",
Expand Down Expand Up @@ -131,7 +132,7 @@
"postcss": "^8",
"prettier": "^3.2.4",
"prettier-plugin-tailwindcss": "^0.6.1",
"prisma": "^5.18.0",
"prisma": "^5.19.1",
"tailwindcss": "^3.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
Expand Down
Loading