Added scripting documentation to allow running client locally

This commit is contained in:
Neha Ranade 2022-01-21 12:12:00 +00:00
Родитель 5e91af5d88
Коммит 7cd2a9d50a
2 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

@ -42,11 +42,11 @@
"selenium-webdriver": "^4.0.0-rc-1"
},
"scripts": {
"start-api": "cd api && npm start",
"start-app": "react-scripts start",
"start-dev": "concurrently \"npm:start-api\" \"npm:start-app\" ",
"start-swa": "swa start http://localhost:3000 --api-location http://localhost:7071",
"start": " npm run start-dev && npm run swa-up"
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"start-swa": "swa start http://localhost:3000 --api-location http://localhost:7071"
},
"eslintConfig": {
"extends": [

Просмотреть файл

@ -61,6 +61,10 @@ Create an App registration in your Azure Active directory (You should have admin
## Get client app running locally
* Go to the client directory through your terminal of choice
* Run ``` npm start ```
* Open another terminal in the same directory and run ``` npm run start-swa ```