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

Windows Puppet Agent does not connect to Puppet Enterprise Master
400 Bad Request with Guzzle from the Microsoft Oauth endpoint
Remote monitoring Azure Products
MS Azure - automatically download the latest ip ranges used by MS Azure Datacenters
Site-to-site VPN on Azure
How to increase Azure Service Bus Queue Size?
Difference between Azure Worker Role & Azure Automation?
Session timeout is not sliding in Azure Redis Cache Session State Provider
Getting Roles for Group Membership Azure AD
Azure SQL Database Auditing Data Access
Understanding Azure SQL Performance
Why is clock synchronization on servers difficult?
What is the order of the messages in a Azure Service Bus queue if I send them asynchronously?
WebJob run failed due to: System.Threading.ThreadAbortException: Thread was being aborted
Azure alerts not being sent out
How can I track a scheduled notification in Azure Notification Hub?

Categories

HOME
sbt
clojure
office-js
module
x-editable
rtmp
react-navigation
outlook
localforage
logback
ionic3
android-dialer
clion
cytoscape.js
aac
nanotime
reload
export-to-excel
apache-kafka-streams
spring-cloud-consul
plc
vast
slowcheetah
freetype
slime
pcap
similarity
nested-set-model
aspdotnetstorefront
dsc
slf4j
confidence-interval
vnc
valueinjecter
asana-api
kprobe
stl
tensor
spring-websocket
server-sent-events
docker-image
decompiler
vtable
partition
worldpay
essbase
textangular
backwards-compatibility
hydra
adsutil.vbs
sql-insert
android-calendar
sections
azure-cdn
sql-mode
ganglia
node.js-tape
webloadui
singlepage
error-correction
measurement-protocol
flattr
xendesktop
android-number-picker
sql-server-2016-express
benerator
target-platform
vsvim
blpapi
mars
docklight
tag-helpers
mysqladmin
kinto
jedi
actioncable
uat
spl
mtp
chunk-templates
xsb
mailx
dhc
stringr
google-swiffy
crowdflower
zim-database
targetinvocationexception
lossless-compression
iphone-privateapi
before-save
xsltforms
notifyicon
dfsort
parsekit
resolver
sysadmin
polarssl
jflow
cassette
gigaspaces
clean-urls
rgba
settings.bundle
emacs-ecb
eye-detection
formsauthentication
myisam
sloc
pinging
roguelike

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