Skip to content

Commit 411900e

Browse files
committed
docs: update instructions
1 parent a64a60d commit 411900e

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,53 @@
33
[Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/overview) allows you to easily build [Angular](https://angular.io/) apps in minutes. Use this repo with the [Angular quickstart](https://docs.microsoft.com/azure/static-web-apps/getting-started?tabs=angular) to build and customize a new static site.
44

55
This project was generated with [Angular CLI](https://github.com/angular/angular-cli).
6+
7+
## Project setup
8+
9+
```bash
10+
npm install
11+
```
12+
13+
### Start the dev server
14+
15+
```bash
16+
npm run swa:start
17+
```
18+
19+
> Note: This command will use the local configuration file `swa-cli.config.json`.
20+
21+
### Run unit tests
22+
23+
```bash
24+
npm test
25+
```
26+
27+
### Run e2e tests
28+
29+
```bash
30+
npm run e2e
31+
```
32+
33+
### Lints and fixes files
34+
35+
```bash
36+
npm run lint
37+
```
38+
39+
### Compiles and minifies for production
40+
41+
```bash
42+
npm run build
43+
```
44+
45+
### Login to Azure
46+
47+
```bash
48+
npm run swa:login
49+
```
50+
51+
### Deploy to Azure
52+
53+
```bash
54+
npm run swa:deploy
55+
```

0 commit comments

Comments
 (0)