FAQ Database Discussion Community


How to deploy a Scala Play framework API using the SBT native packager

scala,playframework-2.0,web-deployment,typesafe-activator,sbt-native-packager
I created a web API based on the Scala Play framework 2. In the past I generated war files using a SBT plugin in order to deploy in production using Tomcat. It is now possible to build native package from Play project using the SBT native packager plugin. I used...

Is it possible to simulate Azure Websites locally for testing?

php,azure,testing,web-deployment,azure-web-sites
We're developing a dynamic website that is to be hosted on Azure Websites. Before going to the staging phase, I'd like to test it locally in an environment that is as similar to the production environment as possible. (By testing I mean clicking around and checking that things work, nothing...

Linking Standard 5 page website with a Ruby Application [closed]

ruby-on-rails,heroku,deployment,web-deployment,godaddy
I have a Web Design site written in standard HTML,CSS and Javascript which advertises me as a freelancer, I have already hosted this site with Go Daddy. I have a blog written in Ruby. I have deployed a Ruby site using Heroku in the past. However, I intended to create...

Trouble with publishing simple .html site through FileZilla

html,deployment,web-deployment
I'm trying to publish a really basic site, using some webspace my college provided free for me. I've got access to a www and a data folder. The www is for the website and the data is well, well for the regular data. I've made a simple .html file with...

Why won't Huginn agents act on Webfaction?

ruby-on-rails,ruby,web-deployment,webfaction
I could spool up a VPS or deploy to a PaaS, but I'm determined to get Huginn working on my Webfaction account because I'm pretty sure it's possible and I just don't get rails deployments. After hours of hacking away, I ended up with a running app whose Agents do...

tomcat: deploying a webapp which is accessed via browser without context root name

tomcat,web-applications,web-deployment,contextroot
(Sorry for my english, please correct if somethings are wrong). I have a webapp (spring mvc 4 application) which code is placed in tomcat-7/webapp/mywebapp/ folder. Webapp is accessed via browser with url http://my-web-app.loc:8080 (i.e. without context root name mywebapp after port number). I have following setups in tomcat-7/conf/server.xml: <Host name="my-web-app.loc"...

How to get ASP.NET MVC Publish to copy over a native binary to the bin dir

asp.net,asp.net-mvc,web-deployment
I have created an ASP.NET MVC 4 website in VS 2013. One of the library assemblies I depend on wraps a native dll. I copy that native DLL to the project's output dir in the project's post-build event. That allows me to run the website under IIS Express and that...

MVC web.config compilation debug=true - a manual change needed?

asp.net-mvc,web-config,web-deployment
When one creates a MVC project using the the built-in templates (File -> new Project etc) the web.config reads <compilation debug="true" targetFramework="4.5" /> Inside the Web.Release.config I see this transform <compilation xdt:Transform="RemoveAttributes(debug)" /> so I was assuming that when I build in Release mode the debug="true" would disappear. However I...

HTML output differs between deployed and local

html,asp.net-mvc,web-deployment,asp.net-mvc-5.1
In my Person model I got birthdate property: [DisplayName("Date of Birth")] [DisplayFormat(DataFormatString = "{0:d}", ApplyFormatInEditMode = true)] [DataType(DataType.Date)] public DateTime BirthDate { get; set; } In Edit view I got birth date input field displayed: <div class="form-group"> @Html.LabelFor(model => model.BirthDate, htmlAttributes: new { @class = "control-label col-md-2" }) <div class="col-md-10">...

How to go to the current breakpoint in Chrome console

javascript,google-chrome,web-deployment
I keep finding a scenario where my code stops on a breakpoint in Chrome's debugger, then when I use another tab like "Console", and go back to "Sources", I have lost the place where the code stopped, and I have to click singles-step to get "back on track", but this...

Capifony Symfony2 deployment [duplicate]

symfony2,web-deployment,capifony
This question already has an answer here: Capifony can't download composer - not following redirect 3 answers I'm getting this error while trying to deploy my Symfony2 application to production server. --> Downloading Composer * executing "sh -c 'cd /home/myproject/releases/20150427081943 && curl -s http://getcomposer.org/installer | php'" Preparing to execute...

Change context-root inside WAR file

java,weblogic,web-deployment
I am really new to WebLogic deployments. I have the below situation: I have a war file which is already deployed on WebLogic 8.1, I want to pick the same war and deploy it on the same server without bringing the original site down. This would definitely give me a...

What does HTTP 2 mean for Web Developers

php,security,ssl,web-deployment
When it comes to building my web applications, I know HTTP 2 is going to be recommended for all traffic coming to the site. I understand the security concerns and the reason why it is recommended/forced to be used now. When it comes the web-based languages I code in and...

heroku deployment busted, operational error

python,django,heroku,web-deployment,operationalerror
I am getting error message after deploying to heroku (in my web browser): OperationalError at /accounts/register/ could not connect to server: Connection refused Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432? In settings.py I have: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'mydata',...

How to read an internal file in a web project

java,servlets,war,web-deployment,dom4j
All, Forgive me I am still learning the Java development right row. Say we have the structure of web project like below. The src and config is under the Java Resources folder of web project. src ... |- a.b.c.package |-test.java ... config |-1.xml |-2.xml ... configfolder |-1.properties |-2.properties testfolder |-test.properties...

Play Framework 2.3.x (Java) distribution with Ebean

java,web-deployment,playframework-2.3,ebean
I tested my Play Framework application on my local machine. Everything is working. When I first start my Play application on localhost:9000 it gives me the error that my database 'default' needs an evolution. This all is to be expected and works like a charm. Now, when I render a...

Can I deploy a fab bundle on any OSGI-compliant container/application server?

osgi,web-deployment,fuseesb,jbossfuse
I am currently trying to deploy my camel app as a FAB bundle in the Fuse ESB container. I understand that I can install Fab(Fabric-bundle) as a feature on OSGI containers like Karaf or felix and deploy the bundle. I want to know if this feature is available on all...

db:migrate (PostgreSQL) fails on Rails deployment with Capistrano

ruby-on-rails,centos,web-deployment
I'm a complete noob to deploying Rails and even more new to PostgreSQL. I'm running a CentOS 6.6 server and my deployment tasks keep failing with the following db:migrate errors: cap aborted! SSHKit::Runner::ExecuteError: Exception while executing as [email protected]: rake exit status: 1 rake stdout: /var/www/rally_app/shared/bundle/ruby/2.2.0/gems/fog-1.23.0/lib/fog/rackspace/mock_data.rb:42: warning: duplicated key at line...

Publish Llightswith Web app locally

visual-studio-2013,web-deployment,visual-studio-lightswitch,setup-deployment
I'm trying to publish Lightswitch app (web client) to local computer and local network location. Unfortunately all videos online only show how to deploy desktop app but not web.. My Lightswitch app connected to MS SQL server. SQl Server installed in on the same network but not on the local...

How to test java server without deployment?

java,webserver,client-server,server,web-deployment
Is there a way that I can test my java server on my computer without deploying it to a real server? I know php had wamp and lamp but what about java?

How to upload file with Selenium on Equafy

testing,selenium,cross-browser,web-deployment,web-testing
I've created a test on equafy.com platform and I need to upload a file using Selenuim. In my case the file is png image, but I cannot find a way to upload any type of file.

How to trigger a cruise control .net build manually?

web-deployment,cruisecontrol.net,msbuild-task
I am trying to install cruise control on a windows server 2012, but there are some issue with IIS so I can not access the dashboard website. I have modified the ccnet.config, is there a way to trigger the build without using dashboard website, so I can verify whether my...

Deploying websites in django virtual machine

python,django,postgresql,deployment,web-deployment
Sorry I'm new to this specific topic. I have a website implemented in django and AskBot it also has a DB (postgreSQL). I want to create a deployment package which can be distributed to any customer; such that this customer can have their own server. Taking into consideration that the...

JBoss REST WS application doesn't work when deployed as WAR file but works when expanded to a folder

web-services,jboss,war,web-deployment,resteasy
I am deploying an application on JBoss server (EAP-6.4.0, JBoss Web/7.5.7.Final-redhat-1). I get a very strange behavior. Let's say the application is called Engine.war. The application implements a REST Web service server. When I deploy the application by copying the WAR file to c:\EAP-6.4.0\standalone\deployments\Engine.war file, it is successfully deployed, but...

A good workflow for creating websites and deploying them ?

apache,web,deployment,web-deployment
I currently have a portable apache, mysql and php server zip that I extract for each website that I work on, and when I want to upload the files i just do it over ftp to the server. Is there any sort of program that would automate the process of...

python fabric with dynamic hosts/servers

python,deployment,web-deployment,fabric,fab
We have our deployment script with fabric, and it has a list of hosts: env.hosts = ['services', 'w1zA', 'w1zB'] but we have 2 more servers that are on and off when there is more pressure. So I want my hosts variable to be: env.hosts = ['services', 'w1zA', 'w1zB', 'w2zA', 'w2zB']...

Laravel 5 deployment to heroku: Error output: PHP Fatal error: Class not found in ProviderRepository.php

php,laravel,heroku,web-deployment,laravel-5
Beware: Beginner here. I have successfully deployed a barebones copy of a laravel 5 project to heroku. But when I try to deploy now after having added some files + some composer packages(namely laravel-debugbar), I get this error when I do $ git push heroku master remote: Error Output: PHP...

Strategy to deploy versioned assets (for PHP app's assets to Amazon S3)

php,amazon-s3,web-deployment
I currently deploy a PHP app's static assets using s3cmd. If an asset for Amazon S3 has changed (like a JavaScript script), I'll rename it manually, so that the new version is synced and served by Amazon Cloudfront. Are there documented practices for deploying a PHP app's static assets to...

Git : Deploy web application production and test versions in different servers

git,versioning,web-deployment,production-environment,test-environments
I am new to Git. I have a Laravel PHP application in two servers. Test server (for testing) Live server (for production) Once I finish working with the local application repository, I push the changes into the remote repository. After that, I use DeployHQ to deploy my changes into the...

calculate the day of my Birtday [closed]

php,web-deployment
how i calculate that on what day my Birthday Comes Using php like on Monday, Tuesday and so on..

Deploye two wars with different domain name but same context-path in same jboss-4.0.3

tomcat,jboss,web-deployment,contextpath
I've two web application wars STORE_ABC.war and STORE_DEF.war and single JBoss server running on my machine. I want to deploye both war with same context path in my jboss as follows. http://localhost:8080/home For STORE_ABC.war http://testsite1:8080/home For STORE_DEF.war jboss-web.xml for STORE_ABC.war and STORE_DEF.war <jboss-web> <context-root>/</context-root> </jboss-web> How could I achieve above...

What exactly does the {'page': 1} mean here? “BuildError: ('main.user_profile', {'page': 1}, None)”

python,flask,web-deployment,werkzeug
I'm trying to make a Pagination object for 1 user's posts. Everything's OK when the user is current_user: @auth.route('/auth/edit_profile', methods=['GET', 'POST']) def edit_profile(): ### page = request.args.get('page', 1, type=int) pagination = current_user.posts.order_by(Post.timestamp.desc()).paginate( page, per_page=15, error_out=False) posts = pagination.items return render_template('auth/edit_profile.html', form=form, user=current_user, posts=posts, pagination=pagination) However if it's queried within the...

Passing variables between PHP pages that does not exist in the same folder [closed]

php,variables,web-deployment
I need to know how can I use a variable in script1.php in script2.php, where script2.php 's folder is included in the same folder with script1.php. Just in case there's another way, the reason I need this is to echo a user's name after he log in to his account...

How to deploy MVC application in 2003 server IIS

c#,.net,asp.net-mvc,iis,web-deployment
I was deploying an MVC application in IIS resides in 2003 server.I don't have Visual studio installed or web deploy rather .net framework and required stuffs are installed over there.I just created a virtual directory under default website and mapped my website file by using alias.Then configured default application pool...

How to deploy MVC 5 web application in IIS 8 server in Windows 8.1?

asp.net-mvc,iis,web-deployment
I have developed MVC 5 web application in VS 2013 and I want to deploy that application in IIS 8 but its give me error as per given image.

Many versions on one IBM Websphere server

java,websphere,ibm,web-deployment
Is it possible to deploy different versions of single application on one IBM Websphere Application Server (WAS)? For example I have: App1 with url binding http://app/1.0/service/ App2 with url binding http://app/2.0/service/ Is it possible? I think not due to port listening issue, but maybe there is some chance......

How to deploy an Ember CLI app to Azure Websites

azure,ember.js,web-deployment,ember-cli
I'm trying to deploy an ember-cli app to Azure Websites. When deploying to azure, you run a deployment script, which does the following: - npm install bower - npm install ember-cli - bower install - npm install - ember build Well, it all seems to go well, until it hits...

Manage paths in R Shiny?

r,shiny,web-deployment
I need some advice on how to take a working app from your local machine onto a web deployment. I tried deploying an App to Shinyserver.io, but I have path errors. It cannot find my utilities code in utils-fun.R. Error message The application failed to start. Error in eval(expr, envir,...

CQRS and WebSockets

architecture,websocket,web-deployment,cqrs,event-driven
When we have to add push updates feature to a system based on CQRS, it seems that make sense let the "read" model to be responsible of manage those push messages. This make a lot of sense when long polling and server events were used (mostly unidirectional) But WebSockets are...

Python/Flask deployment without pip

python,deployment,flask,web-deployment
I've usually deployed my Flask applications with a fairly simple fabric script that put the source on the target machine, used pip to install any dependencies, then fired up uwsgi with all the necessary settings and off it went. However, I have a new issue that some new security settings...

capistrano deployment to a server without public IP through a proxy

proxy,capistrano,web-deployment
The server that I need to deploy to is in a private network (without a public IP). I can access the server from outside that network through VPN, but with difficulties, and deployment with capistrano breaks every time. I have access to another computer in that private network that has...

What is difference between versions of eclipse like juno, kepler etc.? Which version to choose for web development?

eclipse,eclipse-plugin,web-deployment
Eclipse has so many versions like Juno, Indigo, Galileo, etc. Are they just versions or they are specific for what we are developing? If they are specific which one to choose for web development? Currently I have Juno which I am using for android development, is it possible to use...

Host Four ASP.Net Projects in IIS as single direcory(maintain more projects in same url)

asp.net,iis,hosting,web-deployment
I m having a ASP.Net Webapplication it accessed by from many geography like India,China&America.In that application's login page fields are username,Password & Geography. Based on this login page geography option the application's functionalities will change in all page. In this project,If we add a feature for Indian users but that...

What is the way to develop modern php based large scalable web application? [closed]

php,codeigniter,web-deployment
I want to build a web-application using the php, I have started with CodeIgniter and Smarty. The issue is I came to know opinion about this combination like "framework in 2015?, like a joke", there are so many framework and all the updated and and many more thing like socket...

How to package synced folder in vagrant box

node.js,vagrant,web-deployment,vagrantfile
What I want and achieved so far: I want to create a custom vagrant box including a configuration and an application to reuse it in different client or serve environments. Specifically I managed to create vagrant box, based on Ubuntu (precise/64), that has node.js installed, and package it on my...

CSS Icons are working locally in the app, but are not showing on Heroku?

php,css,cakephp,heroku,web-deployment
So I have this app, just deployed on Heroku: http://jobsboardd.herokuapp.com/ And as you can see, instead of some fancy icons there are some strange symbols(rectangle)? I know it's a common thing with ruby apps, and I couldn't find anything related to php. And according to the html code, every css...

How can I create and deploy Spring Batch jobs in Spring Batch Admin UI

spring,war,spring-batch,web-deployment,spring-batch-admin
I have back end Spring experience however, I don't have great experience deploying applications on web containers (for e.g Tomcat). I was able to run Spring Batch Admin using Eclipse STS tools. However, after following this I was somehow confused on how to create my own spring batch application and...

Deployment with Rake Causing Image Permission Errors (600)

ruby,rake,web-deployment,file-permissions
I'm deploying my website to my server with Rake for the first time and I've run into a slight issue. RAKEFILE desc 'Deploying the website...' task :deploy do puts 'Deploying to server.com' user = 'user' server = 'server.com' path = 'server.com/html' sh "rsync -rtzh --delete _site/ #{user}@#{server}:#{path}" puts 'Fin!' end...

Cache permissions error when deploying with Capifony

symfony2,web-deployment,capifony,symfony-2.6
When I deploy with Capifony a Symfony2 project I get this error message in apache log when accessing a webpage: PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Failed to write cache file "/var/deploys/acme/releases/20150219150638/app/cache/prod/classes.php" In order to avoid this, each time I deploy I have to execute chmod 777 -R...

Tomcat 7 deployment fails. org.apache.commons.codec.binary.Base64 not found

maven,tomcat,web-deployment
I am trying to deploy a web application to a Tomcat 7 instance using the tomcat7-maven-plugin's tomcat7:deploy goal. However, it continuously fails to deploy, citing that: java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64 All of the posts I've read suggest adding the Apache commons-codec to pom.xml. I have done that and it doesn't do a...

Eclipse don't deploy war file in Tomcat correctly

eclipse,maven,tomcat,web-deployment
I am writing an web application and try to deploy it in tomcat with eclipse. But everytime, if I try to start the server in eclipse I get an Error. Schwerwiegend: Exception starting filter app java.lang.ClassNotFoundException: org.apache.tapestry5.TapestryFilter at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1157) at...

How to deploy solution from Visual Studio with multiple projects to Azure

azure,visual-studio-2013,asp.net-mvc-5,repository-pattern,web-deployment
I am developing an MVC web app using the repository pattern, so there are many projects in one Visual Studio solution dependent on each other. I use Visual Studio 2013 The view layer is my startup project, I have Business logic;Data Access;Model;and service layers. The project works on my local...

XML Parsing Error: not well-formed, MasterPage asp.net

c#,asp.net,xml,master-pages,web-deployment
I am deploying website on server but it is showing error while in localhost it is working fine. XML Parsing Error: not well-formed Location: file://///10.10.1.220/share/CozmoBlog/Default.aspx Line Number 1, Column 2: <%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="MasterPage.master" CodeFile="Default.aspx.cs" Inherits="_Default" %> -^ screenshot ...

How can I work on files on my server and keep them in sync?

linux,debian,vmware,web-deployment
I have set up a development web server using VMWare and Debian. It's all set up fine, but I have an problem. I need to be able to work with the files on the server, or a copy of them. But, it's important that both sets of files are in...

show Asp.net website to client without having domain or web hosting

asp.net,web,web-deployment
I have developed website on Asp.net for my client . I want to show him progress of work . I have no domain or web hosting to show him . Is there any possibility to show my website built on Asp.net to my client ??Also I have used ngrok but...