From c0578f071a4f18c55ff6f8ec378048ff61be42c5 Mon Sep 17 00:00:00 2001 From: Bruno Bernardino Date: Mon, 29 Dec 2025 10:57:05 +0000 Subject: [PATCH] Update necessary permissions for running locally and in docker --- README.md | 4 ++-- deno.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c05b2e4..728ca58 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ These are the amazing entities or individuals who are sponsoring this project fo ```sh docker compose -f docker-compose.dev.yml up # (optional) runs docker with postgres, locally make migrate-db # runs any missing database migrations -make preview # runs the app in production mode +make start # runs the app in development mode (watches for file changes and recompiles the app) make format # (optional) formats the code (if you're interested in contributing) make test # (optional) runs tests (if you're interested in contributing) ``` @@ -80,7 +80,7 @@ make test # (optional) runs tests (if you're interested in contributing) ### Other less-used commands (mostly for development) ```sh -make start # runs the app in development mode +make preview # runs the app in production mode (serves the app from the built files) make exec-db # runs psql inside the postgres container, useful for running direct development queries like `DROP DATABASE "bewcloud"; CREATE DATABASE "bewcloud";` make build # generates all static files for production deploy ``` diff --git a/deno.json b/deno.json index 8256b89..dd2ad20 100644 --- a/deno.json +++ b/deno.json @@ -1,7 +1,7 @@ { "lock": true, "tasks": { - "execute-with-permissions": "deno run --allow-env --allow-net --allow-sys=networkInterfaces,hostname --allow-read=. --allow-write=data-files", + "execute-with-permissions": "deno run --allow-env --allow-net --allow-sys=networkInterfaces,hostname,cpus,homedir --allow-read=.,/ --allow-write=data-files,/ --allow-run", "check": "deno fmt --check && deno lint && deno check .", "cli": "echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -", "manifest": "deno task cli manifest $(pwd)",