mikeebowen / node-wopi-server

A WOPI Server written with Node.js
MIT License
19 stars 4 forks source link

Is there any way to run this on Microsoft Azure? #4

Closed joemensor closed 1 year ago

joemensor commented 1 year ago

As this starts with ts-node, is there any way to run this as an Azure web app?

mikeebowen commented 1 year ago

Sure, you can put it on a VM. You can use ts-node in production with the --transpile-only flag. The full explanation is in this Stack Overflow post.

If you do use this in production, you will need to add real auth. Right now the server is faking the authorization. In production, I would also advise against storing the files to disk. A better option would be to store them in a database. Here's some info about the options