From 55597df7fcc3731d1a76ed305490df428598609f Mon Sep 17 00:00:00 2001 From: SAITOU Keita Date: Wed, 17 Jul 2024 02:10:42 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Add:=20Procfile.dev=E3=81=ABFirefox?= =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=83=86=E3=83=8A=E3=82=92=E4=BD=BF=E3=81=86?= =?UTF-8?q?=E5=A0=B4=E5=90=88=E3=81=AE=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89?= =?UTF-8?q?=E4=BE=8B=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Procfile.dev | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Procfile.dev b/Procfile.dev index 3b888c0e0..e5383d2c1 100644 --- a/Procfile.dev +++ b/Procfile.dev @@ -3,7 +3,13 @@ js: yarn build --watch css: yarn build:css --watch # Reccomend development runner with Docker +# # You need PostgreSQL configurations. # See also dotenv.example file. # # db: docker run --rm --name db --network sakazuki_net --env-file .env --publish 5432:5432 --mount type=volume,src=sakazuki_db,dst=/var/lib/postgresql/data postgres:13-alpine +# +# You need remote dirver configurations. +# See also dotenv.example file. +# +# selenium: docker run --rm --name selenium --network host --env-file .env --publish 4444:4444 selenium/standalone-firefox:latest From 181711d9a5014b5e409701f9022276b4cf5d973d Mon Sep 17 00:00:00 2001 From: SAITOU Keita Date: Wed, 17 Jul 2024 02:11:08 +0900 Subject: [PATCH 2/2] =?UTF-8?q?Update:=20dotenv.example=E3=81=AB=E3=81=A6C?= =?UTF-8?q?apybara=E3=81=AE=E8=A8=AD=E5=AE=9A=E5=80=A4=E3=82=92=E7=94=A8?= =?UTF-8?q?=E9=80=94=E3=81=AB=E5=BF=9C=E3=81=98=E3=81=A6=E5=88=86=E3=81=91?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dotenv.example | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dotenv.example b/dotenv.example index d873e7878..58749c400 100644 --- a/dotenv.example +++ b/dotenv.example @@ -16,10 +16,14 @@ POSTGRES_PASSWORD= # To test using a remote firefox, configure the following. # Refer to "capybara.rb" and "docker-compose.yml" in this repository. # -# CAPYBARA_APP_HOST=http://host.docker.internal -# CAPYBARA_SERVER_HOST=0.0.0.0 # REMOTE_DRIVER_HOST=localhost # REMOTE_DRIVER_PORT=4444 +# +# If you are using WSL, the following settings might also be necessary. +# +# CAPYBARA_APP_HOST=http://host.docker.internal +# CAPYBARA_SERVER_HOST=0.0.0.0 + ### Google AdSense