azure


Yeoman generator gulp-angular deployment on Azure websites


I have developed my frontend using gulp-angular (yeoman generator). it's working fine on local environment. I want to deploy this on azure websites. I have uploaded code on azure websites but I am unable to start the server.
gulp serve //to start server on Local
gulp build //to create a build for Production
How can I run gulp build command on azure websites.
Is there any deployment script to run on azure websites?
If you want to build your project on the server then you could look into creating your own custom deployment script.
The challenge here is that you'll have to npm install the dev tools as well, and that might cause issues with MAX_PATH. Give it a shot and see if it works.
With Yeoman angular your code gets generated to the dist folder, which is by default excluded from the git enlistment.
You can work around this by doing the following:
Remove the /dist line from your .gitignore file
Add a .deployment file to your code the root folder of your project and paste the following inside it to tell Azure Web Apps to treat the dist folder as the root of your web app:
[config]
project = dist
You can find more detailed instructions here:
http://www.zainrizvi.me/2015/10/13/deploy-statically-generated-sites-to-azure-web-apps/

Related Links

Docker Swarm on Azure: Correct use of docker4x/logger-azure
Authenticate a user on Azure AD B2C using Graph API
Run a script on VM before it's deleted in Azure
Disable weekly digest email for an environment in Application Insights
Azure Function: Service Bus input binding (not trigger)
Azure VM custom script extension SAS token support
Using Azure, subdirectory will not display without https://www. being added to URL
Scaled out Azure App Service too slow
Setting up a swapfile in local SSD (temporary drive) in Azure VM
DocumentDB COUNT inconsistent results
ElasticSearch repository plugins do not provide control over snapshot/restore rate
Create azure cdn endpoint for azure container
Can't get mertics values reported through Partition.ReportLoad
Getting AD Group's creation timestamp
How can I get reports of all memory usages and cpu usages by App Service on a single plan
Microsoft Graph API: assignments(plannerAssignment) property of Task Resource(plannerTask ) is not norking

Categories

HOME
vb.net
asp.net-identity
actions-on-google
demandware
vr
xaml
genetic-algorithm
format
oracle-adf
pyusb
r-caret
base
prestashop-1.7
identifier
square-connect
telnet
light-inject
librsvg
marketplace
html5-video
vast
zap
media-source
dotnetbar
haml
semantics
csom
slf4j
typemock-isolator
memorystream
graphql-dotnet
file-manager
whatsapi
svgpanzoom
blockui
qweb
response
signing
eve
wso2iot
using
tabview
backwards-compatibility
php-deployer
adal.js
wrk
soql
node.js-tape
ice
liclipse
jcuda
db2400
postmark
turbo-c
shift-reduce-conflict
atmosphere.js
redux-framework
amazon-dynamodb-streams
xpdf
texture2d
balsamiq
webclient-download
activemodel
vb6-migration
balana
genetic
many-to-one
xerces
jasmin
android-menu
private-methods
directcompute
controlsfx
django-supervisor
dirpagination
blueprint
xidel
nmea
sysadmin
floating-point-conversion
hresult
rcu
mms-gateway
sparc
google-authorship
virtual-earth
jmdns
file-structure
xml-dtd
ccr
openid4java
livevalidation
android-assets
jquery-pagination
nscollectionviewitem
jdic
network-scan
markitup
sharepoint-feature

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App