An open API service indexing awesome lists of open source software.

https://github.com/iamshobe/excalidraw-refined

Excalidraw - but with extra touches :)
https://github.com/iamshobe/excalidraw-refined

Last synced: 6 months ago
JSON representation

Excalidraw - but with extra touches :)

Awesome Lists containing this project

README

          

# excalidraw-refined

## Usage

From latest released versions:

```bash
docker-compose up
```

### Using PSQL

Create new database and user:

```sql
CREATE DATABASE "excalidraw-refined";
CREATE USER "excalidraw-refined" WITH ENCRYPTED PASSWORD 'password';
GRANT ALL PRIVILEGES ON DATABASE "excalidraw-refined" TO "excalidraw-refined";
```

Then on the `excalidraw-refined` database run:

```sql
GRANT ALL ON SCHEMA "public" TO "excalidraw-refined";
```

Use env var:

```bash
export DB_URL=postgresql://excalidraw-refined:password@localhost:5432/excalidraw-refined
```

### Using k8s

Creating namespace:

```bash
export NAMESPACE=excalidraw-refined
kubectl create namespace $NAMESPACE
```

Applying secret to k8s:

```bash
kubectl create secret generic -n $NAMESPACE excalidraw-refined-db "--from-literal=DB_URL="
```

Applying application:

```bash
helm install excalidraw-refined ./chart/excalidraw-refined/ -f chart/local-values.yaml -n $NAMESPACE
```

Upgrading:

```bash
helm upgrade excalidraw-refined ./chart/excalidraw-refined/ -f chart/local-values.yaml -n $NAMESPACE
```

## Releasing versions

Use:

```bash
GITHUB_TOKEN=$(gh auth token) npx release-it
```