You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was googling around for a Windows alternative command for our installation script, would be great if someone with a windows machine could help validate the attempted solution:
What happens in the installation process is as follow:
We run the appwrite/install Docker image
The docker stream volume (/var/run/docker.sock) allows the container to execute Docker command on behalf of the host machine
The "$(pwd)"/%cd% volume allows the appwrite/install container to save Appwrite's docker-compose file on the host current directory to allow the user to edit the docker-compose.yml file if he needs to in a later stage.
Huge oversight!
This deployment page screenshot does not reflect the correct format so the website's installation guide still has the old instructions with ,(comma) instead of `(back ticks) for powershell commands.
The documentation of the repo was properly updated it seems.
Activity
eldadfux commentedon May 8, 2020
I was googling around for a Windows alternative command for our installation script, would be great if someone with a windows machine could help validate the attempted solution:
docker run -it --rm ^ --volume //var/run/docker.sock:/var/run/docker.sock ^ --volume "%cd%"/appwrite:/install/appwrite:rw ^ -e version=0.5.3 ^ appwrite/installTorstenDittmann commentedon May 9, 2020
I can try this on Monday 👍
eldadfux commentedon May 9, 2020
@TorstenDittmann 👌🏻
TorstenDittmann commentedon May 11, 2020
Seems like I can't use Docker on my Windows Machine due to having Windows 10 Home and that's why I am lacking Hyper-V support...
dor272 commentedon May 12, 2020
Hi,
It still seems to not work:
RizkyRajitha commentedon May 17, 2020
i think replacing backslash with back tick will work in windows powershell
and for windows cmd replacing / with ^ works
for powershell
https://stackoverflow.com/questions/3235850/how-to-enter-a-multi-line-command
for windows cmd
https://stackoverflow.com/questions/605686/windows-how-to-specify-multiline-command-on-command-prompt
eldadfux commentedon May 18, 2020
@RizkyRajitha can you confirm both syntax work before I can update our docs? In your screenshot it seems the powershell command throws an error.
@dor272 could you test the updated syntax @RizkyRajitha posted?
RizkyRajitha commentedon May 18, 2020
@eldadfux i think error is because docker was not running at that time .
i will confirm both and let you know .
@eldadfux how to update docs , i went through https://github.com/appwrite/appwrite/tree/master/docs
but there was no installation docs
eldadfux commentedon May 18, 2020
You can update the main README.md file of this repo. We need to split the installation snippet to unix and windows based setups.
The docs of https://appwrite.io/docs/installation page are (currently) located on the private homepage repo, I'll make sure to update there once the syntax is confirmed.
RizkyRajitha commentedon May 18, 2020
@eldadfux i will let you know and make a pr once once confirmed
RizkyRajitha commentedon May 18, 2020
@eldadfux
i am using docker toolbox for windows in my machine .
and in that the bash script work out of the box
but in windows cmd it throws a error
i think the problem is with paths in windows .
can you explain this path so i can understand the problem
--volume "%cd%"/appwrite:/install/appwrite:rwis it have to be this path or can we tweak it because
:is also messing things upeldadfux commentedon May 19, 2020
What happens in the installation process is as follow:
divinemaredi commentedon May 19, 2020
The code that worked for me was the one for Windows CMD (Command Prompt). Thanks a lot @RizkyRajitha
Just ensure you replace the version number with the latest version, but you can always update it later anyway.
SpajicM commentedon May 20, 2020
Works fine on Windows with Docker Desktop and CMD!
Almoullim commentedon May 23, 2020
With windows powershell (replacing
"$(pwd)"with${pwd})or
Almoullim commentedon May 23, 2020
@TorstenDittmann I think you can use Virtualbox if you don't have access to Hyper-V
eldadfux commentedon May 23, 2020
Ready for deployment:

eldadfux commentedon May 23, 2020
Updated README.md file:

eldadfux commentedon May 24, 2020
New docs are live! Thank you for all your help!!
vimode commentedon Oct 2, 2022
@eldadfux
Huge oversight!
This deployment page screenshot does not reflect the correct format so the website's installation guide still has the old instructions with ,(comma) instead of `(back ticks) for powershell commands.
The documentation of the repo was properly updated it seems.
Merge pull request appwrite#315 from utopia-php/codex/nats-requests