diff --git a/web/docs/getting-started.md b/web/docs/getting-started.md index 4e299a693..1ca6184e1 100644 --- a/web/docs/getting-started.md +++ b/web/docs/getting-started.md @@ -14,7 +14,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl'; ### Node.js >= 12.18.0 ```shell-session -$ node -v # >= v12.18.0 +node -v # >= v12.18.0 ``` We recommend using [nvm](https://github.com/nvm-sh/nvm) for managing your Node.js installation version(s). @@ -29,18 +29,18 @@ We recommend using [nvm](https://github.com/nvm-sh/nvm) for managing your Node.j Then, install a version of node that you need (any >= 12.18.0), e.g.: ```shell-session - $ nvm install 12 + nvm install 12 ``` Finally, whenever you need to ensure specific version of node is used, run e.g. ```shell-session - $ nvm use 12 + nvm use 12 ``` to set the node version for current shell session. You can run ```shell-session - $ node -v + node -v ``` to check the version of node currently being used in this shell session. @@ -99,9 +99,9 @@ Check [waspc/](https://github.com/wasp-lang/wasp/tree/master/waspc) for more det ## 3. Creating and running your first app ```shell-session -$ wasp new MyNewApp # Creates a new web app named MyNewApp. -$ cd MyNewApp -$ wasp start # Serves the web app. +wasp new MyNewApp # Creates a new web app named MyNewApp. +cd MyNewApp +wasp start # Serves the web app. ``` That's it :tada:! You have successfully created and served a new web app at and Wasp is serving both frontend and backend for you. diff --git a/web/docs/tutorials/todo-app/auth.md b/web/docs/tutorials/todo-app/auth.md index 7c585a537..0bdc275bf 100644 --- a/web/docs/tutorials/todo-app/auth.md +++ b/web/docs/tutorials/todo-app/auth.md @@ -29,7 +29,7 @@ psl=} Run: ```shell-session -$ wasp db migrate-dev +wasp db migrate-dev ``` to propagate the schema change (we added User). @@ -157,7 +157,7 @@ Ok, time to try out how this works! Now, we can again run ```shell-session -$ wasp start +wasp start ``` Try going to `/` in our web app -> it will now ask you to log in, and if you follow the link, you will end up at `/login`. @@ -165,7 +165,7 @@ Once you log in or sign up, you will be sent back to `/` and you will see the to Let's now see how things look in the database! Run: ```shell-session -$ wasp db studio +wasp db studio ```