File tree 3 files changed +21
-3
lines changed
3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,8 @@ npm-debug.log
34
34
35
35
gorilla_test *
36
36
gorilla_dev *
37
- .vscode
37
+ .vscode
38
+
39
+ ! .env.example
40
+ .env. *
41
+ .env
Original file line number Diff line number Diff line change 7
7
<img src="https://github.com/Clevenio/Gorilla/actions/workflows/ci.yml/badge.svg"/>
8
8
</a>
9
9
<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">
11
11
</a>
12
12
<a href="https://github.com/Clevenio/Gorilla/blob/master/LICENSE">
13
13
<img src="https://img.shields.io/badge/LICENSE-MIT-orange.svg">
@@ -35,6 +35,9 @@ $ make migrate
35
35
To start the application.
36
36
37
37
``` zsh
38
+ $ cp .env.example .env.local
39
+ $ export $( cat .env | xargs)
40
+
38
41
$ make run
39
42
```
40
43
@@ -62,6 +65,17 @@ $ docker run -itd \
62
65
-p 5432:5432 \
63
66
--name postgresql \
64
67
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
65
79
```
66
80
67
81
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ if config_env() == :prod do
62
62
secret_key_base =
63
63
System . get_env ( "APP_SECRET" ) ||
64
64
raise """
65
- environment variable SECRET_KEY_BASE is missing.
65
+ environment variable APP_SECRET is missing.
66
66
You can generate one by calling: mix phx.gen.secret
67
67
"""
68
68
You can’t perform that action at this time.
0 commit comments