This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PRINT '==============================================' | |
PRINT 'CLEARING LOG AND AUDIT TABLES' | |
PRINT '==============================================' | |
GO | |
PRINT '==============================================' | |
PRINT 'TRUNCATE TABLE umbracoLog' | |
PRINT '==============================================' | |
GO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Previously this gist had a series of files showing a working setup, but, | |
@burkeholland found a much easier way and demonstrates it here: | |
https://github.com/burkeholland/nuxt-appservice-windows | |
Essentially, you'll: | |
1. add a .deployment file to instruct kudu to run `npm install` for you, | |
2. leverage npm tasks' `postinstall` hook in package.json to trigger the full nuxt build, | |
3. add a server.js file in the root that `require`s the default server\index.js file that a nuxt app will already have | |
Step 3 will be noticed by kudu, which will: |