Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
WORKDIR /opt/app

ADD mix.exs mix.lock ./
RUN mix do deps.get, deps.compile
RUN mix do deps.get, compile

ADD assets assets/
RUN npm --prefix assets install
RUN npm --prefix assets run build
RUN npm --prefix assets ci --force
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ every aspect of a particular resource view, like the edit form.

* `actions` - functions that operate on a specific record
* `tasks` - functions that operate on a resource as a whole
* `list_with` - function used to fetch records
* `query_with` - function used to fetch a batch of records
* `render_with` - function used to encode field values in views
* `create_with` - function used to insert a record
* `update_with` - function used to update a record
Expand All @@ -103,7 +103,6 @@ in any LiveView it is used.
Extra options:

* `schema` - use to set the schema for the resource (default: calling module)
* `preload` - manually choose which associations to preload (default: all `belongs_to` associations)

### Scope

Expand Down
3 changes: 1 addition & 2 deletions README.md.eex
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ every aspect of a particular resource view, like the edit form.

* `actions` - functions that operate on a specific record
* `tasks` - functions that operate on a resource as a whole
* `list_with` - function used to fetch records
* `query_with` - function used to fetch a batch of records
* `render_with` - function used to encode field values in views
* `create_with` - function used to insert a record
* `update_with` - function used to update a record
Expand All @@ -103,7 +103,6 @@ in any LiveView it is used.
Extra options:

* `schema` - use to set the schema for the resource (default: calling module)
* `preload` - manually choose which associations to preload (default: all `belongs_to` associations)

### Scope

Expand Down
Loading
Loading