Skip to content

Commit 15dcf68

Browse files
committed
fixes & bump
1 parent 9b5269f commit 15dcf68

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

.gitignore

+5-1
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,8 @@ npm-debug.log
3434

3535
gorilla_test*
3636
gorilla_dev*
37-
.vscode
37+
.vscode
38+
39+
!.env.example
40+
.env.*
41+
.env

README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img src="https://github.com/Clevenio/Gorilla/actions/workflows/ci.yml/badge.svg"/>
88
</a>
99
<a href="https://github.com/Clevenio/Gorilla/releases">
10-
<img src="https://img.shields.io/badge/Version-0.1.0-1abc9c.svg">
10+
<img src="https://img.shields.io/badge/Version-0.1.1-1abc9c.svg">
1111
</a>
1212
<a href="https://github.com/Clevenio/Gorilla/blob/master/LICENSE">
1313
<img src="https://img.shields.io/badge/LICENSE-MIT-orange.svg">
@@ -35,6 +35,9 @@ $ make migrate
3535
To start the application.
3636

3737
```zsh
38+
$ cp .env.example .env.local
39+
$ export $(cat .env | xargs)
40+
3841
$ make run
3942
```
4043

@@ -62,6 +65,17 @@ $ docker run -itd \
6265
-p 5432:5432 \
6366
--name postgresql \
6467
postgres:15.2
68+
69+
$ podman run -itd \
70+
-e POSTGRES_USER=brangus \
71+
-e POSTGRES_PASSWORD=brangus \
72+
-e POSTGRES_DB=brangus_dev \
73+
-p 5432:5432 \
74+
--name postgresql \
75+
postgres:15.2
76+
77+
# https://github.com/dbcli/pgcli
78+
$ psql -h 127.0.0.1 -U brangus -d brangus_dev -W
6579
```
6680

6781

config/runtime.exs

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if config_env() == :prod do
6262
secret_key_base =
6363
System.get_env("APP_SECRET") ||
6464
raise """
65-
environment variable SECRET_KEY_BASE is missing.
65+
environment variable APP_SECRET is missing.
6666
You can generate one by calling: mix phx.gen.secret
6767
"""
6868

0 commit comments

Comments
 (0)