mirror of
https://github.com/bewcloud/bewcloud.git
synced 2026-03-11 08:54:49 +00:00
Update necessary permissions for running locally and in docker
This commit is contained in:
parent
d7c09bcb6a
commit
c0578f071a
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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)",
|
||||
|
|
|
|||
Loading…
Reference in a new issue