Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
# and running the workflow steps. These should match the versions in the
# devcontainer Dockerfile.
matrix:
otp: ['26.2.5'] # Define the OTP version [required]
elixir: ['1.16.3'] # Define the elixir version [required]
otp: ['27.3.4'] # Define the OTP version [required]
elixir: ['1.18.3'] # Define the elixir version [required]
steps:
# Step: Setup Elixir + Erlang image as the base.
- name: Set up Elixir
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,9 @@ erl_crash.dump
# Ignore package tarball (built via "mix hex.build").
bathlarp-*.tar


# Snyk Security Extension - AI Rules (auto-generated)
.github/instructions/snyk_rules.instructions.md

# MacOS files
.DS_Store
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ If you want to go it alone, you'll need something along the following lines:

Prerequisites:

- Elixir 1.15.x
- Follow the instructions [here](https://elixir-lang.org/install.html) to get
- Elixir 1.18.x
- Follow the [installation instructions](https://elixir-lang.org/install.html) to get
this installed.
- A Postgres database server
- The development and test configuration assumes that the database server is
Expand All @@ -48,8 +48,8 @@ Prerequisites:

- Make sure that code quality checks are run on each commit:
- `pre-commit install`
- Create, migrate and seed the database:
- `mix ecto.setup`
- Get dependencies, and create, migrate and seed the database:
- `mix setup`

## Handy commands

Expand All @@ -60,7 +60,8 @@ Prerequisites:
- The application will be made available on <http://localhost:4000> (you'll
need an API client to interact with it, though).
- You can also access a dashboard at <http://localhost:4000/dev/dashboard>
that will give you quite a lot of information about how it's performing.
that will give you quite a lot of information about how it's performing. You
can also see any e-mails sent by the server at <http://localhost:4000/dev/mailbox>.
- To stop the server again, press Ctrl-C twice.
- Run the application inside an interactive console (handy for debugging):
- `iex -S mix phx.server`
Expand Down
2 changes: 1 addition & 1 deletion lib/bathlarp_web.ex
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ defmodule BathLARPWeb do
layouts: [html: BathLARPWeb.Layouts]

import Plug.Conn
import BathLARPWeb.Gettext
use Gettext, backend: BathLARPWeb.Gettext

unquote(verified_routes())
end
Expand Down
2 changes: 1 addition & 1 deletion lib/bathlarp_web/gettext.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ defmodule BathLARPWeb.Gettext do

See the [Gettext Docs](https://hexdocs.pm/gettext) for detailed usage.
"""
use Gettext, otp_app: :bathlarp
use Gettext.Backend, otp_app: :bathlarp
end
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule BathLARP.MixProject do
[
app: :bathlarp,
version: "0.1.0",
elixir: "~> 1.14",
elixir: "~> 1.18",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
Expand Down
86 changes: 44 additions & 42 deletions mix.lock

Large diffs are not rendered by default.

Loading