Update necessary permissions for running locally and in docker

This commit is contained in:
Bruno Bernardino 2025-12-29 10:57:05 +00:00
parent d7c09bcb6a
commit c0578f071a
No known key found for this signature in database
GPG key ID: D1B0A69ADD114ECE
2 changed files with 3 additions and 3 deletions

View file

@ -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
```

View file

@ -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)",