Skip to content

Commit 698a252

Browse files
committed
Try a simple lograge setup
1 parent 04724d3 commit 698a252

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

config/application.rb

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,12 @@ class Application < Rails::Application
3737

3838
config.relative_url_root = Dromedary::Services[:relative_url_root]
3939
config.action_controller.relative_url_root = config.relative_url_root
40-
# config.assets.prefix = Dromedary::Services[:relative_url_root]
41-
# config.relative_url_root = '/'
42-
# config.action_controller.relative_url_root = '/'
43-
4440
config.blacklight_url = Dromedary::Services[:solr_embedded_auth_url]
4541

4642
config.log_level = :info
43+
config.web_console.whiny_requests = false
4744

48-
config.lograge.enabled = false
45+
config.lograge.enabled = true
4946

5047
# add time to lograge
5148
config.lograge.custom_options = lambda do |event|

docs/setting_up.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ To build and start running the application:
1212

1313
```shell
1414
docker compose build
15+
16+
# One time only, you'll need to create and build up the database
17+
docker compose run app bin/rails db:create
18+
docker compose run app bin/rails db:migrate
19+
1520
docker compose up -d
1621
```
1722

0 commit comments

Comments
 (0)