Skip to content
Snippets Groups Projects
Unverified Commit c472598b authored by Francis Mercier's avatar Francis Mercier Committed by GitHub
Browse files

HOW_TO_USE_DOCKER.md - Missing -ItemType File for .env creation (#879)

Update HOW_TO_USE_DOCKER.md

Missing New-Item -ItemType for .env default to a folder when it should be a file (Docker won't run when that happen since a file is expected)
parent 0117589b
Branches
Tags
No related merge requests found
...@@ -75,7 +75,7 @@ mintplexlabs/anythingllm ...@@ -75,7 +75,7 @@ mintplexlabs/anythingllm
# Run this in powershell terminal # Run this in powershell terminal
$env:STORAGE_LOCATION="$HOME\Documents\anythingllm"; ` $env:STORAGE_LOCATION="$HOME\Documents\anythingllm"; `
If(!(Test-Path $env:STORAGE_LOCATION)) {New-Item $env:STORAGE_LOCATION -ItemType Directory}; ` If(!(Test-Path $env:STORAGE_LOCATION)) {New-Item $env:STORAGE_LOCATION -ItemType Directory}; `
If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env"}; ` If(!(Test-Path "$env:STORAGE_LOCATION\.env")) {New-Item "$env:STORAGE_LOCATION\.env" -ItemType File}; `
docker run -d -p 3001:3001 ` docker run -d -p 3001:3001 `
--cap-add SYS_ADMIN ` --cap-add SYS_ADMIN `
-v "$env:STORAGE_LOCATION`:/app/server/storage" ` -v "$env:STORAGE_LOCATION`:/app/server/storage" `
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment