DevAppsForTeams/CustomerOrdersApp
Dan Wahlin 19ea7c4efb Update readme 2020-12-14 22:29:46 -07:00
..
api Initial code check in (#1) 2020-12-03 00:49:20 -07:00
cypress Initial code check in (#1) 2020-12-03 00:49:20 -07:00
data Initial code check in (#1) 2020-12-03 00:49:20 -07:00
e2e Initial code check in (#1) 2020-12-03 00:49:20 -07:00
src Update readme 2020-12-14 22:29:46 -07:00
views Initial code check in (#1) 2020-12-03 00:49:20 -07:00
.browserslistrc Initial code check in (#1) 2020-12-03 00:49:20 -07:00
.editorconfig Initial code check in (#1) 2020-12-03 00:49:20 -07:00
.env sample Updates to readme, added many screen shots (#4) 2020-12-14 11:47:14 -07:00
.gitignore Move values into environment.ts and update readme 2020-12-14 11:04:55 -07:00
README.md Initial code check in (#1) 2020-12-03 00:49:20 -07:00
angular-playground.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
angular.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
cypress.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
karma.conf.js Initial code check in (#1) 2020-12-03 00:49:20 -07:00
package-lock.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
package.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
protractor.conf.js Initial code check in (#1) 2020-12-03 00:49:20 -07:00
server.js Adds setup instructions 2020-12-10 11:54:13 +01:00
solvedIssues.md Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tsconfig.app.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tsconfig.base.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tsconfig.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tsconfig.playground.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tsconfig.spec.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tslint.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00

README.md

Tailwind Traders M365

Running the Application

Clone the project or download and extract the .zip to get started.

  1. Copy .env sample to a file named .env. Update the file with the Azure Active Directory AppId and password/secret you created.

  2. Install the latest LTS version of Node.js.

    IMPORTANT: The server uses ES2015 features so you need a current version of Node.js.

  3. 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
    
  4. Run ngrok http -subdomain=<your-subdomain> 8080 to launch ngrok (assumes ngrok basic or higher with custom subdomain support).

  5. Go to http://.ngrok.io:8080 in your browser.

Modifying the Code

  1. 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
    
  2. Open another command window and run:

    npm start
    
  3. Run ngrok http -subdomain=<your-subdomain> 8080 to launch ngrok (assumes ngrok basic or higher with custom subdomain support).

  4. Go to http://.ngrok.io:8080 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.