Skip to content

Commit

Permalink
Update docker compose commands
Browse files Browse the repository at this point in the history
BrunoBernardino committed Oct 8, 2024

Verified

This commit was signed with the committer’s verified signature.
BrunoBernardino Bruno Bernardino
1 parent 9fc703a commit 54668e0
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -10,11 +10,11 @@ jobs:
- uses: denoland/setup-deno@v1
with:
deno-version-file: .dvmrc
- run: docker-compose pull
- run: docker compose pull
- uses: jpribyl/action-docker-layer-caching@v0.1.1
continue-on-error: true
- run: |
cp .env.sample .env
docker-compose up -d
docker compose up -d
make migrate-db
make test
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

[![](https://github.com/BrunoBernardino/budgetzen-web/workflows/Run%20Tests/badge.svg)](https://github.com/BrunoBernardino/budgetzen-web/actions?workflow=Run+Tests)

This is the web app for the [Budget Zen app](https://budgetzen.net), built with [Deno](https://deno.land) and deployed using [docker-compose](https://docs.docker.com/compose/).
This is the web app for the [Budget Zen app](https://budgetzen.net), built with [Deno](https://deno.land) and deployed using [docker compose](https://docs.docker.com/compose/).

This is v3, which is [end-to-end encrypted with open Web Standards](https://en.wikipedia.org/wiki/End-to-end_encryption), and works via web on any device (it's a PWA - Progressive Web App).

@@ -30,7 +30,7 @@ It's meant to have no unnecessary dependencies, packagers, or bundlers. Just van

This was tested with [`Deno`](https://deno.land)'s version stated in the `.dvmrc` file, though other versions may work.

For the PostgreSQL dependency (used when running locally, self-hosted, or in CI), you should have `Docker` and `docker-compose` installed.
For the PostgreSQL dependency (used when running locally, self-hosted, or in CI), you should have `Docker` and `docker compose` installed.

If you want to run the app locally with SSL (Web Crypto standards require `https` except for Chrome), you can use [`Caddy`](https://caddyserver.com) (there's a `Caddyfile` that proxies `https://localhost` to the Deno app).

@@ -39,7 +39,7 @@ Don't forget to set up your `.env` file based on `.env.sample`.
## Development

```sh
$ docker-compose up # (optional) runs docker with postgres, locally
$ docker compose up # (optional) runs docker with postgres, locally
$ sudo caddy run # (optional) runs an https proxy for the deno app
$ make migrate-db # runs any missing database migrations
$ make start # runs the app

0 comments on commit 54668e0

Please sign in to comment.