Skip to content

IamShobe/excalidraw-refined

Repository files navigation

excalidraw-refined

Usage

From latest released versions:

docker-compose up

Using PSQL

Create new database and user:

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:

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

Use env var:

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

Using k8s

Creating namespace:

export NAMESPACE=excalidraw-refined
kubectl create namespace $NAMESPACE

Applying secret to k8s:

kubectl create secret generic -n $NAMESPACE excalidraw-refined-db "--from-literal=DB_URL=<db_url>"

Applying application:

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

Upgrading:

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

Releasing versions

Use:

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