I am trying to deploy ASP.NET5 MVC6 web application on to Amazon Web Services via Code Deploy.
The problem is I have no idea where to place the appspec.yml
and before-install.bat
file as the has been a change in the folder structure with ASP.NET5 with the introduction of wwwroot
folder, and also all of my .cshtml
files are in the view folder.
Thank you
appspec.yml must be placed in the root of an application's source code's directory structure(then you bundle the whole folder).
You can put your personal script anywhere you want inside you bundle, as long as you give the correct source file directory in side your appspec.yml
An example of the appspec.yml file can be seen here: http://docs.aws.amazon.com/codedeploy/latest/userguide/app-spec-ref.html#app-spec-ref-example