30a919d605 | ||
---|---|---|
.. | ||
api | ||
cypress | ||
data | ||
e2e | ||
src | ||
views | ||
.browserslistrc | ||
.editorconfig | ||
.env sample | ||
.gitignore | ||
README.md | ||
angular-playground.json | ||
angular.json | ||
cypress.json | ||
karma.conf.js | ||
package-lock.json | ||
package.json | ||
protractor.conf.js | ||
server.js | ||
solvedIssues.md | ||
tsconfig.app.json | ||
tsconfig.base.json | ||
tsconfig.json | ||
tsconfig.playground.json | ||
tsconfig.spec.json | ||
tslint.json |
README.md
Tailwind Traders M365
Running the Application
Clone the project or download and extract the .zip to get started.
-
Copy
.env sample
to a file named.env
. Update the file with the Azure Active Directory AppId and password/secret you created. -
Install the latest LTS version of Node.js.
IMPORTANT: The server uses ES2015 features so you need a current version of Node.js.
-
Open a terminal window and run the following commands to install dependencies, build the code, and start the server:
npm install npm run build npm start
-
Run
ngrok http -subdomain=<your-subdomain> 8443
to launch ngrok (assumes ngrok basic or higher with custom subdomain support). -
Go to http://.ngrok.io:8443 in your browser.
Modifying the Code
-
If you'd like to modify the code you'll need the build process to rebuild the code after any changes that you make. To do that you can run:
npm install npm run build:watch
-
Open another command window and run:
npm start
-
Run
ngrok http -subdomain=<your-subdomain> 8443
to launch ngrok (assumes ngrok basic or higher with custom subdomain support). -
Go to http://.ngrok.io:8443 in your browser.
Note: The npm run build:watch
command will rebuild your code when a file changes but you'll need to refresh your browser to see the changes.