简体   繁体   中英

Deploying Aurelia application to Azure

I have followed all the steps here to deploy my Aurelia application to Azure, however I am getting the following error when I try to access the application URL:

You do not have permission to view this directory or page.

My application is essentially the same as the skeleton app and has no server.js or node.js file.

Can anybody point me in the right direction on how to deploy my application?

According the intrdocution:

Aurelia is a next generation UI framework.

Which means that the Aurelia is a fronted javascript library, and a Node.js server application, which should be based on a HTML+CSS application architecture. Need a index.html file in the root directory of your application at least. You can make a complete Aurelia application as mentioned at http://aurelia.io/hub.html#/doc/article/aurelia/framework/latest/quick-start/1 , and deploy it to Azure.

Furthermore, we can leverage Custom Deployment Script to bundle the Javascript sources via gulp or babel, you can refer the answer of Custom startup command for Node.js app on Azure with Babel 6 for details.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM