Skip to content

Commit

Permalink
Config: Update windows (un)install.bat examples #3509
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Mayer <michael@photoprism.app>
  • Loading branch information
lastzero committed Jul 13, 2023
1 parent 131ccba commit bc05936
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
21 changes: 13 additions & 8 deletions setup/docker/windows/install.bat
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
@echo off

Rem If you don't have Docker installed yet, please follow this guide to download
Rem and install Docker Desktop before you proceed:
Rem
Rem https://docs.docker.com/desktop/install/windows-install/
Rem
Rem With Docker up and running, change to the directory where you want to install PhotoPrism,
Rem and then run the following commands in a terminal (command prompt) to download our
Rem configuration examples and start PhotoPrism on your local PC:
Rem
Rem curl.exe -o install.bat https://dl.photoprism.app/docker/windows/install.bat
Rem install.bat

echo If you don't have Docker installed yet, please follow this guide to download
echo and install Docker Desktop before you proceed:
echo:
echo https://docs.docker.com/desktop/install/windows-install/

timeout /t 5

echo Checking Docker version...

docker --version
Expand All @@ -35,8 +37,11 @@ echo Starting PhotoPrism and MariaDB...
docker compose up -d
timeout /t 20

echo You should now be able to log in with the user "admin" when navigating to http://localhost:2342/.
echo The initial password is 'insecure' or the value specified with PHOTOPRISM_ADMIN_PASSWORD in your
echo docker-compose.yml file. Please change it under Settings › Account before you proceed.
echo You should now be able to log in with the user "admin" when navigating to the following URL:
echo:
echo http://localhost:2342/
echo:
echo The initial password is "insecure" or the value specified with PHOTOPRISM_ADMIN_PASSWORD in your
echo docker-compose.yml file. Please change it under Settings ^> Account before you proceed.

START http://localhost:2342/
2 changes: 1 addition & 1 deletion setup/docker/windows/uninstall.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ IF /I "%AREYOUSURE%" NEQ "Y" GOTO END
echo Stopping PhotoPrism and MariaDB...

docker compose down -v
timeout /t 10
timeout /t 5

echo Removing Docker images...

Expand Down

0 comments on commit bc05936

Please sign in to comment.