Skip to content

Commit

Permalink
0.0.8
Browse files Browse the repository at this point in the history
Removing ibm/carbon design because of unresolved issues with ibm telemetry and installation failures
  • Loading branch information
n-for-all committed Dec 22, 2024
1 parent 260d2fe commit d1bd101
Show file tree
Hide file tree
Showing 168 changed files with 16,956 additions and 6,710 deletions.
27 changes: 1 addition & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

<div align="center">
<strong>
<h2>A web-based MongoDB admin interface written with Remix, Vite, IBM Carbon Design, TailwindCSS and Prisma</h2><br />
<h2>A web-based MongoDB admin interface written with Remix, Vite, TailwindCSS and Prisma</h2><br />
<a href="https://mongocarbon.com">MongoCarbon</a>: Similar to Mongo Express, MongoDB Compass, MongoUi...<br /><br />
</strong>
MongoCarbon offers database management for mongodb instances
Expand Down Expand Up @@ -123,31 +123,6 @@ or if you installed it globally, you can immediately start mongocarbon like this

You must be using https to login otherwise you need to add SECURE_COOKIE=0 to your .env file in the root of your project

## Installation fails with `ibmtelemetry: Permission Denied`

- If you are installing the package as part of another project, make sure your package.json contains the a name and the version for the package
- If needed, create a new file named `telemetry.js` in your project's root directory. Add the following code to the file:

```javascript
#!/usr/bin/env node

```

- Update `package.json` with
```json
{
"name": "your-project-name",
"version": "1.0.0",
"scripts": {
// ...other scripts
},
"bin": {
"ibmtelemetry": "./telemetry.js"
}
}
```
- If still doesn't work, then create a new `package.json` with `npm init` and install mongocarbon then add your dependencies

## Usage (Docker)

Make sure you have a running [MongoDB container](https://hub.docker.com/_/mongo/) on a Docker network (`--network some-network` below) with `--name` or `--network-alias` set to `mongo` and then create the user
Expand Down
8 changes: 4 additions & 4 deletions app/components/alert.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Close } from "@carbon/icons-react";
import { XIcon } from "@primer/octicons-react";

export const AlertMessage = ({ message, type = "error", onClose }) => {
if (!message || message.trim() == "") {
return null;
}
return (
<div className="w-full">
<div className="inline-flex items-center px-2 py-1 text-xs text-red-500 bg-red-100 border border-red-300 border-solid rounded-sm">
<div className="inline-flex items-center px-2 py-1 text-xs text-red-500 bg-red-100 border border-red-300 border-solid ">
{message}
<button className="ml-2 text-xs text-red-500 rounded-sm hover:bg-red-200" onClick={onClose}>
<Close />
<button className="ml-2 text-xs text-red-500 hover:bg-red-200" onClick={onClose}>
<XIcon />
</button>
</div>
</div>
Expand Down
Loading

0 comments on commit d1bd101

Please sign in to comment.