File tree Expand file tree Collapse file tree 3 files changed +21
-3
lines changed
Expand file tree Collapse file tree 3 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -34,4 +34,8 @@ npm-debug.log
3434
3535gorilla_test *
3636gorilla_dev *
37- .vscode
37+ .vscode
38+
39+ ! .env.example
40+ .env. *
41+ .env
Original file line number Diff line number Diff line change 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
3535To 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments