In VSCode, you can get a walk-through of the code via the CodeTour extension. Install this extension, and review tours available in the 'CodeTour' folder.
- Node.js 16.x.x LTS
npm install
npm run serve
npm run dev
We've started the process of moving to a two tier build names where dev processes are prefixed with dev: so that you can run all the process by building this way. You will notice that you can run these separated if needed:
npm run dev:serve
npm run dev:napi
NOTE: We will be moving all the processes to this once we complete changes to the CI Build.
npm run build
npm run api
If you're not running the API in Visual Studio (with the Azure SDK running), you'll need to run azurite for Storage Emulation:
npm run azurite
You may need to install azurite globally:
npm install -g azurite
Alternatively, there is an Azurite VS Code Extension:
First line you only ever need to execute once.
Second line, execute every time prior to the third. (this is for the Powershell terminal, node terminal switch this to export NODE_ENV=production
or SET NODE_ENV=production
)
npm install -g serve
$env:NODE_ENV="production"
serve -s dist
npm run lint
NODE_ENV=development
VUE_APP_APIROOT=http://localhost:7071/api/
VUE_APP_AUTH0_DOMAIN=login.2wr.org
VUE_APP_AUTH0_CLIENTID=6TSzRpgtMKR3NI1D4Is1nGO6brBB2wB0
VUE_APP_AUTH0_AUDIENCE=https://2wrdev.azurewebsites.net