An open API service indexing awesome lists of open source software.

https://github.com/kshramt/evidence_based_scheduling


https://github.com/kshramt/evidence_based_scheduling

evidence-based-scheduling

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

= Evidence Based Scheduling

image:https://github.com/kshramt/evidence_based_scheduling/actions/workflows/ci.yml/badge.svg["ci", link="https://github.com/kshramt/evidence_based_scheduling/actions/workflows/ci.yml"]

This is a TODO application, which offers the following features:

1. https://www.joelonsoftware.com/2007/10/26/evidence-based-scheduling/[The evidence based scheduling method]
2. https://jameshfisher.com/2013/12/19/todo-dag/[DAG-based dependency management]
3. https://web.dev/learn/pwa/[Offline-first PWA]

== Usage

[source,bash]
----
TAG=latest-linux-amd64 _POSTGRES_PASSWORD=postgres_password _POSTGRES_APP_USER_PASSWORD=postgres_app_user_password scripts/launch.sh
----

== Development

[source,bash]
----
MY_HOST_PGDATA=./pgdata1 _POSTGRES_PASSWORD=postgres_password _POSTGRES_APP_USER_PASSWORD=postgres_app_user_password docker compose -f compose.yaml -f compose.dev.yaml up --build
----

[source,bash]
----
BROWSER=none npx -w client vite dev --port 3122
# LOCALHOST=host.docker.internal BROWSER=none npx -w client vite dev --port 3122
xdg-open http://localhost:3122
----

=== DevContainer

Please share `/` to run the devcontainer on macOS ( https://docs.docker.com/desktop/settings/mac/#file-sharing ).

Please run the following commands for the first run.

[source,bash]
----
$ sudo chown : ~/.cache
$ sudo chown : ~/.cargo
----

=== OpenAPI Zod Client

[source,bash]
----
npx openapi-zod-client ../openapi/api_v2.yaml -o src/gen/api/v2.ts
----