Skip to content

Commit

Permalink
Adds example section in remaining quickstart guide (#6324)
Browse files Browse the repository at this point in the history
  • Loading branch information
SD-13 authored Nov 23, 2022
1 parent b4b8a0c commit 8c24424
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/website/docs/user-guides/quickstart/dotnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ ASP.NET MVC is a web application framework that implements the model-view-contro
```console
dotnet new mvc --name app
```
```console
<details>
<summary>Example</summary>

```shell
$ dotnet new mvc --name app
Welcome to .NET 6.0!
---------------------
Expand All @@ -35,6 +38,7 @@ Running 'dotnet restore' on /Users/user/app/app.csproj...
Restored /Users/user/app/app.csproj (in 84 ms).
Restore succeeded.
```
</details>

Your source code has now been generated and created in the directory.

Expand Down
10 changes: 10 additions & 0 deletions docs/website/docs/user-guides/quickstart/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ func HelloServer(w http.ResponseWriter, r *http.Request) {
```console
go mod init my.example.go.project
```
<details>
<summary>Example</summary>

```shell
$ go mod init my.example.go.project
go: creating new go.mod: module my.example.go.project
go: to add module requirements and sums:
go mod tidy
```
</details>

Your source code has now been generated and created in the directory.

Expand Down
20 changes: 19 additions & 1 deletion docs/website/docs/user-guides/quickstart/nodejs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,29 @@ For Node.JS we will use the [Express](https://expressjs.com/) framework for our
```console
npm install express --save
```
<details>
<summary>Example</summary>

```shell
$ npm install express --save

added 57 packages, and audited 58 packages in 6s

7 packages are looking for funding
run `npm fund` for details

found 0 vulnerabilities
```
</details>

2. Generate an example project:
```console
npx express-generator
```
```console
<details>
<summary>Example</summary>

```shell
$ npx express-generator
warning: the default view engine will not be jade in future releases
warning: use `--view=jade' or `--help' for additional options
Expand Down Expand Up @@ -50,6 +67,7 @@ $ npx express-generator
run the app:
$ DEBUG=express:* npm start
```
</details>

Your source code has now been generated and created in the directory.

Expand Down

0 comments on commit 8c24424

Please sign in to comment.