Skip to content

Commit f995341

Browse files
added WSL post-installation steps (#352)
1 parent 73c623e commit f995341

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

opensaas-sh/blog/src/content/docs/start/getting-started.mdx

+30
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,36 @@ In order to use Wasp on Windows, you need to install WSL2 (Windows Subsystem for
8585

8686
**You can refer to this [article](https://wasp-lang.dev/blog/2023/11/21/guide-windows-development-wasp-wsl) for a step by step guide to using Wasp in the WSL environment.** If you need further help, reach out to us on [Discord](https://discord.gg/rzdnErX).
8787

88+
:::caution[WSL2 Docker post installation steps]
89+
90+
<details>
91+
<summary>
92+
Complete those steps to ensure that PostgreSQL and Docker work correctly with Wasp in WSL2.
93+
</summary>
94+
It is recommended to complete those post-install steps in WSL, based on the official <a href="https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user">Docker</a> guide. These work if you are experiencing an error similar to <a href="https://github.com/wasp-lang/open-saas/issues/347">this</a> one.
95+
96+
First, run
97+
98+
```bash
99+
sudo groupadd docker
100+
```
101+
102+
command to create the `docker` group in case it doesn't exist. If it exists, don't worry, just continue with next steps. After that, add your current user to docker group by running
103+
104+
```bash
105+
sudo usermod -aG docker $USER
106+
```
107+
108+
where $USER is your username. After that, log out and log back in to apply the changes. Finally, run
109+
110+
```bash
111+
su -s $USER
112+
```
113+
114+
</details>
115+
:::
116+
117+
88118
Once in WSL2, run the following command in your **WSL2 environment**:
89119
```sh
90120
curl -sSL https://get.wasp-lang.dev/installer.sh | sh

0 commit comments

Comments
 (0)