w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Unable to deploy a node.js project on Azure, Bcrypt is the culprit
After some investigation, I come across another bcrypt module, this one is a native JS module and it works flawlessly on Azure : https://github.com/shaneGirish/bcrypt-nodejs

Categories : Node Js

How to deploy a Node.js web role along with a .NET web role in azure cloud service project?
The development experience probably will be smoother if the Node.js component of the application is deployed as a separate cloud service instance. But it is possible to automate the deployment using startup taks as described in Run Startup Tasks in Windows Azure. You can create a command batch file to download anything you need and install it on the instance. You can run it with administrative privilege. You can listen to a port and have it set up as a cloud service endpoint. You can even deploy the files as part of your cloud service project and just configure and run them through the startup task. Use RDS to debug this script via logging and system events.

Categories : Dotnet

How to deploy a socket.io node.js application on windows azure?
The important part that you are missing from the sample is setting of the port number var port = process.env.port || 1337; and .listen(port) when you are running inside of the Azure environment (even emulated) the ports are assigned for you, the port environment variable will tell you where. 4001 is likely not the assigned port. The 1337 would only be used if you are running by executing node server.js from the command line

Categories : Node Js

Unable to deploy Orchard Azure project - YSOD fresh off sources
There should never be a need to CopyLocal True on the Azure Service Runtime. That is automatically included in the package, defined by your Cloud Services project (In this case, Orchard.Azure.CloudService). And actually, I could imagine that CopyLocal True might cause issues if the bin contains a different version of the Service Runtime than the Azure package was built under. Orchard Azure uses the Azure 2.0 libraries. It shows that you have the 2.0 SDK installed because you can compile the Orchard.Azure.CloudService project to make a package. Cloud Service projects have different a project guid for each version of the Azure tools, so without the v2.0 SDK, it would be an unknown project type. However, with your Orchard website picking up ServiceRuntime v1.7, it seems that something is ami

Categories : Azure

How do I package my node project files and deploy them to my server?
Might be not exactly what you're asking for, but i like git for automated deployment. You could have branches like staging and production, which are checked out on the remote server. You can set up a git hook like post-receive to update those remotely, every time you merge changes into those branches. Here's a tutorial: http://wekeroad.com/2011/09/17/deploying-a-site-with-git-hooks

Categories : Node Js

Compile less files in node.js project on Windows Azure
OK, I finally have this going, I think. For some reason, even though the physical file is on the disk (I can see them with my FTP client), Azure is not letting me run lessc in the ode_moduleslessin folder, but it does let me run the version in the ode_modules.bin folder. In the end, I added the following lines to my deploy.cmd file, and it worked! IF NOT DEFINED LESS_COMPILER ( SET LESS_COMPILER=%DEPLOYMENT_TARGET% ode_modules.binlessc ) call %LESS_COMPILER% %DEPLOYMENT_TARGET%publicstylesheetsstyles.less > %DEPLOYMENT_TARGET%publicstylesheetsstyles.css

Categories : Node Js

Target "qnx" does not exist in the project "Build and deploy a Cordova BB Webworks project"
I think that as of Cordova 2.8 this may have changed. We're in the process of doing some new documentation updates for BlackBerry 10 right now. If you head on over to the Cordova 'Getting Started Guide' I think it'll get you moving in the right direction again. http://cordova.apache.org/docs/en/2.8.0/guide_getting-started_blackberry10_index.md.html#Getting%20Started%20with%20BlackBerry%2010

Categories : Cordova

Is it possible to deploy a django project to heroku without putting the project in git?
No. ( But there is a plugin to do that, but I would say why bother. But.. - https://github.com/ddollar/heroku-push) But all you have to do is git init to setup a repo, and push to the heroku remote after setting up an app. You don't have to publish your repo anywhere. You can get back your code by using: heroku clone <appname>

Categories : Django

How to deploy netbeans app in MS azure
Microsoft provides a plugin for Eclipse for packaging Java applications for deployment as Windows Azure cloud services. This plugin is not available for Netbeans. An alternative would be to deploy to a Windows Azure virtual machine instead of a cloud service. See instructions at How to run a Java application server on a virtual machine. Another alternative would be to use a third-party tool such as Cloudify for Azure.

Categories : Azure

How can I deploy a worker role into azure?
An Azure Cloud Service is fine, and you could use a technology like Azure Storage Queues as a communication mechanism between the MVC 4 web app and the worker role. Alternatively, you could host an ASP.NET Web API endpoint in your worker role and expose that. See this blog post. Starting and stopping the service can be done via the Azure portal.

Categories : Asp Net Mvc

Published a website with web deploy to azure
Works for me when I browse to http://newdemo1.azurewebsites.net/Calculator Where exactly are you seeing this error? Have you made changes since logging this question ?

Categories : Azure

How to deploy to Azure Cloud Service
It's absolutely possible. If using Azure Websites, you can do a git-deploy, dropbox, etc. If Cloud Services (web role), you can build via visual studio (IDE or command line), then deploy the package with PowerShell. EDIT Quick example using PowerShell, to create a cloud service locally (via New-AzureServiceProject and [Add-AzureWebRole(http://msdn.microsoft.com/en-us/library/windowsazure/dn205203.aspx)): New-AzureServiceProject -ServiceName myservice Add-AzureWebRole -Name MyWebRole You can add your code to the created web role and use msbuild to build it (and cspack to package it). You can then deploy your built package with PowerShell, via New-AzureDeployment: New-AzureDeployment -ServiceName "mynewservice" -Slot "production -Package packagepath -Configuration configpath -Label "my

Categories : Asp Net

How to deploy multiple web roles in Azure
Each Windows Azure Compute instance represents a virtual server of either of following role. Windows Azure Compute instance | |_______[front-end] web server (Web role) | | |_____Site1 | | |_____Site2 | | |_____Site3 etc. or | | | |_______back-end/.NET] application server (Worker role) or | | | |_______VM I suggest two approaches: 1) create Multiple sites in one role.(you will get different endpoints) 2) Or deploy one webrole to staging and other role to production. (again you will get different endpoints)

Categories : Asp Net

Choosing the right project type and Windows Azure Services for SignalR ASP.NET project
Take a look at SignalR Scaleout - most likely, you want to develop your web application and deploy the web application to an Azure Cloud Service. The Cloud Service runs any number of instances behind a load balancer without any configuration on your part other than pointing your CNAME record to the Cloud Service. For the SignalR part, to make it scalable, you will want to use the Azure Service Bus Relay as a backplane for your SignalR implementation (again, load balanced without you having to woory lots about configuring/maintaining). The referenced example is a good start.

Categories : Azure

deploy solution to azure virtual machine
You don't have to use Virtual Machines to install DLLs - you can do this with Cloud Services (web/worker role) as well, via startup tasks. As long as these DLLs are easy to fetch (e.g. blob storage) and quick to install, you can take that route. Many do just that, since this allows you to work with stateless OS VMs (where you don't worry about maintaining the OS, or making copies of a VM when wanting to scale out to multiple instances). That said: To install to a Virtual Machine, you'd typically copy files to your VM somehow (maybe fetching from a CI engine, possibly ftp'ing the files, whatever procedure you'd typically use with a Windows server). And you'd use RDP for gaining access to the desktop. Once you have the VM set up just how you want it, you can then create an image of the VM

Categories : Asp Net

Deploy sails.js to Windows Azure Website
As of right now sails requires an npm install -g on the box which would require either a virtual machine or a cloud service with a startup script. The link you are showing if for a deployment model where you don't get any access to manipulate the host since there are many instances running on it. It would be great if sails could be included inside an app by putting it in the package.json and started up from within the app. UPDATE - This has changed since the answer was posted. @mikermcneil has an updated answer that reflects the current state.

Categories : Node Js

How to deploy with git the Orchard CMS and customs modules to Azure WebSite and Storage?
Recently there have been new changes made to Orchard cms and it has new implementation for Azure services. It now requires to be merged with 1.x branch as this func seems to be released in 1.7.1. Also there are a set of new articles related to Azure-Orchard func: http://goo.gl/u5neLv and http://goo.gl/Lr5D9M and http://goo.gl/StvavC .

Categories : Azure

Very slow deploy on azure: 'Warning: Unable to connect to the remote server'
Run a repair on your Visual Studio 2012 installation by selecting the application name in Programs and Features and clicking on Change. If that doesn't work, you may also try to re-download your Azure subscription publishing profiles again (remove the current ones from VS first).

Categories : Azure

Durandal SPA Deploy to Azure Web Site with Optimizer in Build Deployment Command
An empty main-built.js indicates that something going wrong when optimizer runs r.js. I'd try to manually run r.js using node r.js -o app.build.js. See more info at Durandal.js optimizer not working (empty main-built.js)

Categories : Azure

how to deploy NodeJs on Windows Azure Cloud Service using command line tools in Mac
The cspkg file is the "package" that need to be compiled for uploading to Windows Azure PaaS Cloud Services. Unfortunately, this package can only be created via the cspack command line tool (part of the Windows Azure SDK) for Windows OS (http://msdn.microsoft.com/en-us/library/windowsazure/gg432988.aspx). You can also learn more about the format of the package file at: http://msdn.microsoft.com/en-us/library/windowsazure/jj151522.aspx The cscfg is a configuration file (just a specially names XML file) who's schema can be found at: http://msdn.microsoft.com/en-us/library/windowsazure/ee758710.aspx

Categories : Node Js

How to deploy a node.js app to heroku?? It is possible or not?
Heroku will automatically detect a nodejs application if you include a package.json file in the root of your project. Ensure that package.json is added to your git project before pushing your project to Heroku. Your nodejs application should be managed with NPM. For a complete working example see the Nodejs guide on Heroku: https://devcenter.heroku.com/articles/nodejs

Categories : Node Js

deploy asp.net project on another computer
If I've understood this correctly - it does depend on how the website has been set up in IIS. At it's most simple it would be As the default website http://[external IP of webserver]/default.aspx As a virtual under the website http://[external IP of webserver]/[virtualName]/default.aspx Assuming there is a file called default.aspx (insert your own) if default.aspx is specified as a default document for the site http://[external IP of webserver] http://[external IP of webserver]/[virtualName] if you are using binding to a specific IP and or port (look in IIS, left handside at the binding link - see image below) http://hostname: optionalpost Apologies if I have misunderstood EDIT To check whether the site is active at all and to get a better idea of what the external URL is

Categories : Asp Net

Can't Deploy Qt project from Qt Creator
The "deploy" option is for deploying to devices (like mobiles). For creating a Windows executable, you need to ship the DLLs with it. Alternatively, you can build a static version of Qt and build a static executable. More information: http://qt-project.org/doc/qt-4.8/deployment-windows.html

Categories : Qt

How to deploy a vaadin project on GAE?
It's been a while since I've used GAE, but when I was it seemed like I had to add some jars to WEB-INF/lib myself, despite everything working fine locally. Later I would get warnings about those same jars, but if I removed them I'ld get NoClassDefFoundException again.

Categories : Java

How do you deploy Rserve on Heroku/Node.js
This is the best I could find https://github.com/virtualstaticvoid/heroku-buildpack-r and to run node.js and R simultaneously https://github.com/ddollar/heroku-buildpack-multi

Categories : Node Js

how to deploy a yeoman build to aws node.js
Here is an example of a Angular Nodejs template: https://github.com/joshdmiller/ng-boilerplate Maybe you should check your configuration file of Grunt if the port matches. In your Gruntfile.js you will have port 9000 and in the Nodejs code you're listening on 8888. So change one of the two so they have the same port. Take a look at: grunt.registerTask('server', function (target) { it will run some tasks and in one of the tasks ('open' perhaps) a port number from the configuration of Grunt will be used. See grunt.initConfig({ ... I hope this will help you.

Categories : Angularjs

Errors when deploy a Symfony2 project
First of all, check your hosting supports PHP 5.3 and that it fits all the requirements running config.php Regarding your question, your hierarchy seems to be wrong. When deploying Symfony2 apps I move all the content of the web folder to the root of the server where the other main folders (app, src, vendor...) are located and I do the following changes in the app.php $loader = require_once __DIR__.'/app/bootstrap.php.cache'; //Note the removed "../" And some lines bellow also in app.php require_once __DIR__.'/app/AppKernel.php'; // Also note the removed "../"

Categories : Symfony2

how to deploy Jsp Project In tomcat server
There are several things wrong, not the least of which is "only deploying JSP's through FTP", which is hacky, and as is evident from this problem, highly error prone. Since you're already using Tomcat, why not use the Tomcat Manager? That's what it's there for. Judging from the output of the JSP, I'm guessing you have som old code lying around on the server, and that whatever JAR's contain mypackage.Utility, mypackage.GetFileContent and mypackage.LuceneFields are not the same as what you are using in your developer environment.

Categories : Java

Deploy Mavenized EAR project without packaging to EAR
Michel, why don't you deploy your app from your IDE? I understand that it may take a bit more time to configure development environment, but it really worth the effort. I truly enjoy configuration: Eclipse + m2eclipse + Java EE server. Download Eclipse for Java EE developers, add plugin m2eclipse(included in Eclipse Juno), import your project as maven project, add application server to eclipse, and run your app on it. Application will be deployed on server by default as exploded archive in less than 10s, what should be huge improvement for you.

Categories : Performance

How to delete the data when the project is deploy?
This is as simple as opening up a mongo shell to the remote database on the meteor.com servers. all you need to do is type meteor mongo appname where appname is the name that you deployed your app to. once you have a command prompt you can can use db.collectionName.remove({}) on each collection to get rid of your data. Alternatively you can delete your whole deployment from the meteor servers. meteor deploy --delete appname Then redeploy Meteor deploy appname

Categories : Mongodb

Deploy a Git Branch to Node Server for Testing
To fetch update to date information from a remote repository you simply need to: git fetch origin This will pull all the up to date information from the origin remote, including any new branches you have not synced with the system yet. Now just switch to the branch that you want to use. git checkout -b someBranch origin/someBranch Note the first someBranch can be anything you want. You don't have to name your branches the same as remote. Git keeps up a file of references of local branch names, vs remote branch names. But it is certainly idiomatic to name local branches after remote branches.

Categories : GIT

How can i deploy my worklight project to my blackberry device..?
There are several ways. You can try using the BlackBerry Desktop Manager software which should allow you application syncing. You can use the JavaLoader commandline tool, provided by BlackBerry. Personally, I use JavaLoader. It is a simple one-liner in CMD: javaloader load path-to-cod-file The one-liner above assumes you have added JavaLoader (an .exe in the bin folder of the BlackBerry WebWorks SDK for BlackBerry OS 6/7) to your PATH, so that it will be available for useage like in the example) Please keep an mind that after you generate the .cod file using Ripple, what you basically have is an actual BlackBerry (WebWorks) project, the way to deploy it would be the same as any other BlackBerry application, whether it was created by Worklight or any other software.

Categories : Eclipse

How Do I Properly Deploy With An Integration Test Project?
You shouldn't run mvn deploy directly but use the release plugin instead. You have to run mvn release:prepare release:perform for doing and deplying a relase. See also this blog post about deploying snapshots.

Categories : Maven

Unable to deploy Git repo project into Heroku
Your problem is with sqlite3 gem: An error occurred while installing sqlite3 (1.3.8), and Bundler cannot continue. You have to add the pg gem to your Gemfile in production group, since Heroku uses PostgreSQL. You can continue using sqlite3 in your development and test groups. group :production do gem 'pg' end group :development, :test do gem 'sqlite3' end More info here: https://devcenter.heroku.com/articles/heroku-postgresql#connecting-in-ruby

Categories : Ruby On Rails

how to deploy netbeans Qt project to stand-alone executable
You will have to compile the source on a Windows machine or set up a cross compiling toolchain. I highly suggest the first option as the second isn't any fun. Then you will either have to statically link the proper Qt dlls and compile them into the final executable or simply copy the required dlls into the path of the executable. What's the easiest way to figure out the required dlls? Try to run the program, it will fail and tell you which libraries you need to link to it. (Or run an ldd on ubuntu and keep track of the list) (Note:I think statically linking the libraries may have licensing implications. It has been a while since I looked at the Qt licenses.)

Categories : C++

Best way to deploy visual studio 2013 project
Your friends computer needs to have the VS 2013 redistributable packages You can perhaps build an installer that either downloads these, or installs them as part of your distribution. Or you can tell your "customers" to download and install them from a suitable link.

Categories : C++

How deploy a OSX or IOS Delphi project from the Command line?
First of all this is not a question regarding Delphi, It has more to do with Scripting in windows. So, if you can access OSX within your operating system then you probably need only to copy required files directly to the folders where they should reside in the target operating system. For IOS probably you won't be able to compile directly within windows. As far as I remember you export your code to a code that could be compiled in xCode targeting IOS (a requirement of Apple).

Categories : Delphi

How do I deploy a visual studio project on ngrok?
EDIT: There is a new open source WPF application that makes it easier to setup ngrok. Check it out here. https://github.com/devinrader/ngrok.editor. Prerequisite: You'll need to have some way to run the WPF application. The instructions immediately below should still be valid. NOTE: Make sure that Visual Studio is running in Administrator mode. Otherwise, ngrok may not be able tunnel to your local server First, you'll need the name of the port that you are deploying to. Run and deploy your solution, then look at the address bar. You should see an address like this, localhost:####, where #### is your port name. Copy that port name because we'll use it in a bit. Navigate to %userprofile%documentsiisexpressconfig. To navigate here, just copy the address above and paste it into your addr

Categories : C#

Using a windows.dll in a Xamarin project to deploy on an iPad
You will need to rebuild your library from the source using the Xamarin.iOS compiler. After that you would reference the same way you do in a Windows app - by either including a Reference to the dll in your project, or by including the Library project in your solution and referencing the project.

Categories : Xcode

How do I deploy an unpacked maven project to Tomcat?
As Muel commented, you have to compile the files first, once you have all your files compiled, you can put it in any folder inside web apps (even ROOT, but should be empty), the app will use the folder name as context path (Except for ROOT that deploys in "/")

Categories : Java

© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.