pluja / blogo

A lightweight blogging engine that backs itself up to Nostr!
https://blogo.site
MIT License
130 stars 12 forks source link

Self hosting error? #10

Closed Cappyadams closed 5 months ago

Cappyadams commented 5 months ago

So, I was about to do the thing. but I got an error when using the docker command

The error:

At line:2 char:5
+   --name blogo \
+     ~
Missing expression after unary operator '--'.
At line:2 char:5
+   --name blogo \
+     ~~~~
Unexpected token 'name' in expression or statement.
At line:3 char:5
+   --env-file .env \
+     ~
Missing expression after unary operator '--'.
At line:3 char:5
+   --env-file .env \
+     ~~~~~~~~
Unexpected token 'env-file' in expression or statement.
At line:4 char:5
+   --volume $(pwd)/articles:/app/articles \
+     ~
Missing expression after unary operator '--'.
At line:4 char:5
+   --volume $(pwd)/articles:/app/articles \
+     ~~~~~~
Unexpected token 'volume' in expression or statement.
At line:5 char:5
+   --publish 3000:3000 \
+     ~
Missing expression after unary operator '--'.
At line:5 char:5
+   --publish 3000:3000 \
+     ~~~~~~~
Unexpected token 'publish' in expression or statement.
At line:6 char:5
+   --detach \
+     ~
Missing expression after unary operator '--'.
At line:6 char:5
+   --detach \
+     ~~~~~~
Unexpected token 'detach' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingExpressionAfterOperator

What's this issue? I tried googling it but found pretty much nothing

pluja commented 5 months ago

where are you running this?

Cappyadams commented 5 months ago

where are you running this?

What do you mean? Sorry for the dumb questions, I'm still learning-

pluja commented 5 months ago

no worries, are you running on Linux, if so, is it on a Raspberry?

the error you sent is indicates that wherever you ran the command is not recongnizing any part of it

Cappyadams commented 5 months ago

I'm on windows 11

pluja commented 5 months ago

I am not sure how Docker works on Windows, I am only able to test on Linux since I don't have any Windows computer available. It seems like you will need something like Docker Desktop for Windows:

https://docs.docker.com/desktop/install/windows-install/

ItsRaelx commented 5 months ago

@Cappyadams you should try running it with docker-compose as it is already built into docker desktop for windows.