diff --git a/Controllers/AuthController.cs b/Controllers/AuthController.cs
index 502834b..7894039 100644
--- a/Controllers/AuthController.cs
+++ b/Controllers/AuthController.cs
@@ -82,6 +82,7 @@ namespace qbridge.Controllers
if (DiscoveryDoc == null)
{
return Content($"
Error - Unable to fetch Discovery document from QuickBooks Online
Cannot proceed");
+
}
diff --git a/Controllers/ValuesController.cs b/Controllers/ValuesController.cs
deleted file mode 100644
index a4b0286..0000000
--- a/Controllers/ValuesController.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
-using Microsoft.AspNetCore.Mvc;
-
-namespace qbridge.Controllers
-{
- [Route("api/[controller]")]
- [ApiController]
- public class ValuesController : ControllerBase
- {
- // GET api/values
- [HttpGet]
- public ActionResult> Get()
- {
- return new string[] { "value1", "value2" };
- }
-
- // GET api/values/5
- [HttpGet("{id}")]
- public ActionResult Get(int id)
- {
- return "value";
- }
-
- // POST api/values
- [HttpPost]
- public void Post([FromBody] string value)
- {
- }
-
- // PUT api/values/5
- [HttpPut("{id}")]
- public void Put(int id, [FromBody] string value)
- {
- }
-
- // DELETE api/values/5
- [HttpDelete("{id}")]
- public void Delete(int id)
- {
- }
- }
-}
diff --git a/notes.txt b/notes.txt
index cb7d074..093d3f1 100644
--- a/notes.txt
+++ b/notes.txt
@@ -10,3 +10,33 @@ If that works then plan and institute a publishable solution.
- So QBridge is only required for the initial authorization process after which QBOI can operate using the refresh token scheme until that expires at which point QBOI can simply redirect to the QBridge again
+
+***********************
+DEPLOYMENT qboauth.ayanova.com
+***********************
+1) CLEAN out /publish folder (used by all netcore utils)
+
+
+2) PUBLISH
+publish command line from C:\data\code\qbridge folder:
+
+//this will build a release version which is what we use on the server now
+dotnet publish -c Release -o ./../publish/
+
+
+//if need a debug version
+dotnet publish -o ./../publish/
+
+3) COPY
+Copy over to production server, only need the .dll and the wwwroot folder contents,
+remember not to delete the folders on the server only replace their contents because there are file permissions set
+Backup the database
+
+4) Delete any test data local here
+
+
+Restart the service on the server:
+systemctl status kestrel-qboauth.service
+systemctl start kestrel-qboauth.service
+systemctl stop kestrel-qboauth.service
+