FAQ Database Discussion Community


Ruby on Rails - Testing changes to Capistrano's deploy.rb

ruby-on-rails,testing,deployment
I'm trying to test some changes out on production without having to commit and push the changes because I only want to commit what actually works. The project I'm working on was created with Rails (3.0.2), and deploys with Capistrano (3.1). I've tried making changes in the root folder of...

Error: Must specify a primary resource (JAR or Python file) - Spark submit Python app

python,deployment,apache-spark,pyspark
I want to complete one simple task. I have set of workers. I want to deploy zip-archive, which contains set of python files. Then, I want to send some command, and, after some time, I want to get the result. Anyway, I submit my files to workers: spark-submit --master spark://User-PC:7077...

Multiple apps with composer

php,deployment,frameworks,composer-php
There is a main application, let's call it APP. APP has several dependencies (including open source projects and proprietary libraries). There are multiple clients that use their own instance of APP (on different domains that I manage). Some of these clients use a slightly adjusted version of APP. I implemented...

Cannot Deploy Application on Eclipse (Bluemix)

eclipse,deployment,ibm,bluemix,devops
I am trying to create my first web app on Bluemix. I created a Java Liberty Runtime and downloaded the Starter Code to work on Eclipse. I installed IBM Bluemix tools to Eclipse and imported the starter code as an archive file. When I try to run application on IBM...

Engineyard Deployment: How to detect in deployhooks that its the first attempt to execute 'rake db:seed'

ruby-on-rails,deployment,hook,engineyard
I am having trouble to detect that this is the first attempt of deployment after a server instance is booted. I need to run the command rake db:seed only the first time to set the default users and other details in database. I have no idea if this is possible....

What creates the directory “app.publish” in visual studio 2013?

c#,deployment
I switched over visual studio 2010 express, to visual studio 2013. Now, whenever I try to test the code, he says /bin/release/app.publish access is denied, giving back a error and forcing me to manually delete the folder. Every single time. Why is visual studio attempting to create that path in...

How do I find out memory requirement when deploy Python sample to Bluemix?

python,memory-management,deployment,bluemix
I am following the example to deploy sample python application to bluemix BLUEMIX-PYTHON-FLASK-SAMPLE Created project successfully Cloned repository successfully Configured pipeline successfully Deploy to BLUEMIX failed. I checked the error in deployment log, seem to complain about memory limit exceeded, Server error, status code:400, error code 100005. How do I...

Can't deploy universal app to phone with Windows 10 Mobile Tech Preview

deployment,win-universal-app,windows-universal,windows-10,windows-10-mobile
I have a developer unlocked Lumia 635 just yesterday updated to Windows 10 Mobile Technical Preview (OS version: 10.0.12562.84). After creating "Blank App (Windows Universal)" targeting Windows Phone 10 in Visual Studio 2015 RC and tried to deploy it to the device (and have changed configuration to ARM for that...

ASP.NET web application 'Could not load the assembly 'App_Web_'

c#,asp.net,deployment,compilation
I am trying to deploy my first ASP.NET web application. So far I have gone to Build > Publish Web Site > Publish to file system and it has created my web application, packaging the .cs files into the bin directory in a number of .dlls. I have then copied...

What do I set MONGO_OPLOG_URL to in Meteor Up?

deployment,meteor,compose,meteor-up
I have created a database and a user with oplog access in Compose.io. The URI I get looks like this: mongodb://<user>:<password>@lamppost.11.mongolayer.com:10022,lamppost.10.mongolayer.com:10024/cardmaker?replicaSet=set-<bunchOfDigits> Knowing this, what do I set as MONGO_URL and MONGO_OPLOG_URL in mup.json? There is literally no documentation on this. :(...

Deployment over GPRS to embedded devices

linux,git,deployment,embedded,rsync
I've got quite a head scratcher here. We have multiple Raspberry Pis on the field hundreds of kilometers apart. We need to be able to safe(ish)ly upgrade them remotely, as the price for local access can cost up to few hundred euros. The raspis run rasbian, / is on SD-card...

MongoDB Cloud Deployment - High TTFB

node.js,mongodb,amazon-web-services,deployment,mongolab
I am building a mobile only application in Node.js + MongoDB. I have deployed my server in the AWS AP-Southeast-1 Region. Since I am new to MongoDB, I am leveraging cloud hosting services like MongoLabs, Compose.IO, MongoDirector (testing a few out). Now, these cloud hosting platforms are deploying my database...

Cannot enable a .war in JBoss AS 7.1

java,deployment,jboss
I have a problem while enabling the .war project in JBoss AS, here is the log from standalone/log/server.txt 18:57:51,727 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "booking-war.war" 18:58:15,025 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.unit."booking-war.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."booking-war.war".PARSE: Failed to process...

How to update TeamCity Agents to the latest fastlane tools gem

ios,ruby-on-rails,deployment,teamcity
I am currently using TeamCity 9.0.3 running on a Mac Mini. Right now the duties of this build server are to compile my iOS project on each commit and run unit/ui tests. When that is all complete, I am using fastlane by KrauseFx to send my beta testers updates. My...

Unable to deploy through capistrano after ubuntu upgrade

ruby-on-rails,ubuntu,ruby-on-rails-4,deployment,capistrano
I recently upgraded my development machine to Ubuntu 15.04 (was 14.04LTS) and ran into a problem when trying to deploy changes to my server. The interesting bit is, that I can ssh into my server without any issues (hence, the key file is setup correct), but when I try to...

strongloop slc deploy env var complications

deployment,loopbackjs,strongloop
I've been deploying a loopback app via a custom init.d/app.conf script, using slc run --detach --cluster "cpu", but want to move to using strong-pm, as recommended. But I've come across some limitations and am looking for any guidance on how to replicate the setup with which I'm currently familiar. Currently...

How to deploy complex tcl applications

deployment,tcl
How to deploy complex tcl applications and where to find a good getting started with a minimal example? I want to deploy the application in form of a tcl interpeter with the application tcl packages included. Preferable as one binary....

Pause the execution of exe of a C code

c,deployment,exe
I have developed a simple console utility in C which parses various text files. IDE - Code Blocks OS - windows I intend to distribute its executable. The executable works fine, however unlike when executed from the IDE, the execution does not pause/wait for keystroke at the end of execution....

Capistrano Rails deploy with new migration files

ruby-on-rails,ruby-on-rails-4,deployment,capistrano
I want to deploy from a new branch I have created. On this branch, the db/migrate content has changed, I removed some migration files and regenerated a new one. The problem is, when I cap staging deploy from this branch, it fails when running migrations PG::DuplicateTable: ERROR: relation "partners" already...

Easiest way to upload existing data in to new database

java,spring-mvc,deployment
First apologize me if am posting my question in a wrong forum. We have implemented our old software(Java swing application) in a school 3 yrs before. Now we are planning to install our new software(Java spring MVC web application). Already they had entered manually more than 3000+ students record when...

How to properly deploy angular application (based on ngBoilerplate and using nginx)?

javascript,angularjs,nginx,deployment,ngboilerplate
I have found, that ngBoilerplate was extremly easy for making first steps in webdevelopment based on angular. Right know I am trying to prepare my deployment pipeline, so I use github, travis-ci and dockerized nginx image. I thought that to properly deploy my simple angular website I just have to:...

Increment command timeout in EBS from the Dockerrun.aws.json -AWS

amazon-web-services,deployment,docker,elastic-beanstalk
I am deploying a Dockerfile and a Dockerrun.aws.json in Elastic beanstalk and it was giving an error because some commands were surpassing the maximum command timeout. I can fix this error by going to Updates and Deployments, and modifying the maximum timeout. But I would like to know if there...

How to Continuously Develop and Deploy an Access 2010 Database Application

ms-access,deployment,ms-access-2010
I've been developing an Access 2010 Database Application, let's call it Skill.accdb. I'm at the stage where I want to start deploying it so users can start using it and continue developing at the same time. I've been reading MSAccess-Deployment-Best-Practices, Deploy-an-Access-2007-application, and Ways-to-share-an-Access-database which talk about splitting, compiling, installing, etc.,...

Deploying to Android results in file not found after adding QtQuick Controls

android,qt,deployment,qml,qt5.4
After importing QtQuick.Controls 1.2 and using StackedWidget component, I now get an error when deploying to Android as seen below. The missing file AnimationDrawable.qml is not missing from the Android build directory so I do not understand why it is not packaged with the APK. It deploys fine when I...

Change the “about this” window on mac app

java,osx,deployment
On Macs, there's a default menu at the top for basic application handling functions: I've made an application using Java for my Grade 10 final project, (and I'm quite convinced that it's better than Microsoft Paint) and I decided to package it. Using Eclipse, I exported it as a Mac...

Finding deployment data to a SQL Database

sql,sql-server,deployment
In an effort to maintain versions of the databases we have in our CMDB, I have to obtain the versions of some databases deployed to our servers by a third party company. Is there a system table, view or procedure that allows me to view information regarding recent deployments (code...

Deploying a minimal flask app in docker - server connection issues

python,deployment,flask,docker,dockerfile
I have an app who's only dependency is flask, which runs fine outside docker and binds to the default port 5000. Here is the full source: from flask import Flask app = Flask(__name__) app.debug = True @app.route('/') def main(): return 'hi' if __name__ == '__main__': app.run() The problem is that...

Not able to install my application on other Android devices

android,deployment,android-studio,apk
I have made an Android app using AndroidStudio and want to test it on different phones. I have generated the signed apk (release version) and I could successfully install the apk on my device (Nexus 5). Then I tried to install the same apk on a Nexus 4 but it...

How do I create a deploy git branch for my Yeoman project?

git,deployment,gruntjs,yeoman,branching-and-merging
I created a new project using Yeoman. Using Grunt I've created the dist directory. My whole project is on Github, https://github.com/d3a1i0/mykungfuisstrong.com, and I've created a prod branch. My question is how do I get my prod branch to have only the contents of dist instead of having the dist directory...

Get back an already deployed meteor app

deployment,meteor,meteorite
I have this app I deployed a few months back on meteor servers, let's say it's accessible via : myapp.meteor.com Now I want to reverse the procedure and get back the code I deployed. (like doing a pull from myapp.meteor.com to my local machine) Is such thing possible ?...

Copy dll files to .exe directory in ClickOnce deployment

c#,c++,dll,deployment,clickonce
My .NET project depends on a bunch of native dll libraries that should be copied into the same directory as .exe file. Dll files are added to main project to "ExternalDependencies" folder and are copied to output folder upon custom post-build action. When I publish my app with ClickOnce utility...

Staging Environment best practices

deployment,environment,staging
I'm setting up a staging environment for my laravel application because I want to see how my changes would behave live before going into production. Setting up the env. is fine, since I'm using bitbucket and dploy, which makes the workflow very smooth. My questions are about the domain setup....

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...

How can I deploy a web application onto an existing domain Meteor javascript

javascript,heroku,deployment,meteor
I am about to deploy my first client facing application built on Meteor JS. My client has a website - www.samplewebsite.com and I want to add my application's routes to that site so it would be www.samplewebsite.com/admin, www.samplewebsite.com/store, etc. instead of www.newapplication.meteor.com. I plan on using Heroku to host the...

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...

Does Apache Tomcat start a new process for each deployed WAR?

java,tomcat,deployment
When I deploy (and start) two WAR files on one Tomcat instance, how many Java processes will there be? In other words, will the threads handeling requests to the respective context roots fall under the same process, or will each thread pool fall under a sparate process?

Deployment PhpStorm gone

deployment,upload,phpstorm
My Deployment in PhpStorm is gone. I tried to upload a project and noticed that I couldn't. Then I figured it must be mappings that aren't set the right way, but when I went to Tools and wanted to click Deployment, Deployment wasn't even there....

Deploying laravel 5 with AWS EB cli: UnexpectedValueException - Invalid version string

amazon-web-services,deployment,composer-php,laravel-5
So I was just about to deploy some changes for the first time in some months, and I get this error back: [UnexpectedValueException] Could not parse version constraint ^1.2.2: Invalid version string "^1.2.2" After some digging, I found the line in my composer.lock file: { "_readme": [ ... ], "hash":...

java.lang.NoSuchMethodError: javax.ws.rs.core.Application.getProperties()Ljava/util/Map

java,rest,deployment,glassfish,jersey
I am trying to deploy my first rest application using jersey 2.17. I am using Maven, GlassFish 3.1.2.2 for deployment. Application runs in eclipse (tomcat), but gives following error when deploying through glassfish admin console. Error occurred during deployment: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.apache.catalina.LifecycleException:...

Octopack packaging windows service as if it were a web site

deployment,octopus-deploy,nuspec,octopack
I have a windows service which contains the necessary components to allow it to render razor templates. This service listens on a message queue and sends emails, using the razor templates to generate rich html. Everything is working fine, however, when it comes to deploying it with Octopus Deploy, it...

How to best automate deployment of NPM-dependent project?

node.js,deployment,npm,composer-php,production-environment
I'm used to deploy code depending on Composer (PHP's NPM cousing), that sports .json and .lock files. The first one describes the package and your version constraints, and the second one lists exactly what was installed. Always there's a lock file and you run composer install you're sure to receive...

How to deploy a java application as root in tomcat without allow access to other webapps

java,tomcat,web-applications,deployment,root
I have a java application.war and I copied the file to tomcat7/webapps directory. I'm able to access it with www.application.com/application (My domain points to ip 200.xyz.12.jk:8080) BUT I want to access it through www.application.com (without the name of the folder inside webapps directory) Also i dont want to allow access...

Can I deploy multiple instances of my application on the same windows phone?

visual-studio,visual-studio-2013,deployment,windows-phone
I would like to deploy two or more instances of my application, however VS informs me that there is already an installed instance of this application on my phone. How can I install/deploy multiple instances on the same phone for debugging?...

Msi & exe singing Microsoft Authenticode requirments

wpf,winforms,deployment,wix
I am trying to sign my small application, following this tutorial: In the tutorial they did not ask me to purchase Microsoft Authenticode Certificates I need to Removes "Unknown Publisher" security warnings; after I signmy msi and exe files I still have "Unknown Publisher" Can I sign my msi or...

WAR web app redeploying dependencies

java,maven,java-ee,deployment,glassfish
I'm new to Java. Having some trouble deploying a web app. I have an EJB project which I deploy on Glassfish (4.1). I also have a second, JSF WEB application that I deploy to the same server. Though I am making it with the consideration that it will be deployed...

Allowing Anyone to Run a Meteor app

node.js,mongodb,deployment,meteor
I am looking for advice on deploying a meteor app. I have put together an application that clients are going to install on their own networks. I have the development version working fine and am trying to determine a good way for them to deploy. I want the install to...

Deployment Project - custom action update

c#,visual-studio-2010,deployment,setup-deployment
Situation: I have a Deployment Project in visual studio 2010 setup to install a console application. This console application has some custom actions written into it for the Deployment project. EDIT: To clarify, these custom actions are using the System.Configuration.Install.Installer class in .NET. I use the Committed, BeforeUninstall, AfterUninstall events...

uninitialized constant ActiveMerchant::Billing::CreditCard::Validateable (NameError) - in Spree shop

ruby-on-rails,deployment,capistrano,activemerchant
i'm new in rails. Today i tried deploy my shop(SpreeShop) to new production server, but somthing was wrong. I have foolowing problem with some gem: activemerchant (1.34.1). Bellow is my stack trace. uninitialized constant ActiveMerchant::Billing::CreditCard::Validateable (NameError) /home/dp/.rvm/gems/[email protected]/gems/activemerchant-1.34.1/lib/active_merchant/billing/credit_card.rb:51:in `<class:CreditCard>' /home/dp/.rvm/gems/[email protected]/gems/activemerchant-1.34.1/lib/active_merchant/billing/credit_card.rb:49:in...

Set ffmpeg path in supervsiorctl config file

python,deployment,virtualenv,supervisord
I am having a issue where my code works fine when not under supervisor. But when under supervisor for some reason it is not finding the path to the ffmpeg dependency. (env)[email protected]:/home/www/yout# which ffmpeg /usr/bin/ffmpeg Is there any way to set the path to ffmpeg to have it check this?...

Deployment of Python API

django,api,nginx,deployment,uwsgi
I'm trying to understand the simplest way to deploy a Django application in production. Many recommend nginx or Apache along with uwsgi or gunicorn. I think that is more than my situation requires, and I would like know if my thinking is correct. This application is nothing more than an...

Deploy enterprise (in-house) application on windows phone without developer unlocking the phone?

windows-phone-8,deployment,windows-phone-8.1,enterprise
As the title says, I would like to deploy my application on multiple phones, without developer unlocking them. The said application is private, thus it can't be distributed through the store. I've heard of Company app distribution, however it's not clear for me whether it requires a developer unlocked phone...

How to automate deployment of source & compiled code (excluding git history) to third-party developers?

git,deployment,continuous-integration,bitbucket
I'm going to setup some tools/techiques/environments so that when I need to provide the source code for third-party developers, I do it without git history with some sensitive code already compiled and stripped. So I want to automate this process, so that I always provide the latest version of it...

java play 2.3 on openshift never updates

java,deployment,playframework,openshift
i have created a java play 2.3 (activator) application and pushed my code to an openshift server by following those steps : https://github.com/JamesSullivan/play2-openshift-quickstart however my application has never updated and i tried to restart it many times and re push my code again and again with no use as if...

Slow wpf startup due to publish policy… maybe

.net,wpf,deployment,installer,publisher-policy
I have deployed my .NET assemblies with x-copy for years, without any issue. From last week, we have a small team that wich has the task of build a setup that includes .NET assemblies and exe and c++ legacy exe and dll (more tha 200 files). After the first installation,...

Deploying with docker push is slow because there are many images

deployment,docker
I'm trying to deploy via docker. I'm using the following workflow: Build locally Push my image to docker hub On the server: pull the image On the server: start the image But docker push takes FOREVER. There are like 30 images, and it has to walk through each one and...

How do I create a seed file based on my development database?

ruby-on-rails,deployment,ruby-on-rails-4.2,seeding
I want to assemble the data and settings of a Rails application offline and then push it to production. The ideal scenario is if I set up the application state offline locally and then have that exact same data and application code state in the server in production. Is there...

Spring boot war file deploy on Tomcat

tomcat,deployment,spring-boot,war
I use Spring Boot 1.2.4.RELEASE with gs-rest-service source file. I got: 127.0.0.1 - - [18/Jun/2015:09:59:25 +0300] "GET /gs-rest-service-0.1.0/ HTTP/1.1" 404 1021 There are no other exceptions in Tomcat logs. I have read related questions, but my test doesn't run. Spring Boot War deployed to Tomcat I have read howto-create-a-deployable-war and...

Distributing installer of Windows desktop application

windows,deployment,amazon-s3,installer,hosting
I have an installer for my Windows app and it is quite big (>100 Mb). I am also using ClickOnce deployment framework, so each time I issue an update all my users have to download the installer. We tried to use Amazon S3 to store the setup file, but it...

What underlying difference makes Node Instances appear different?

deployment,uml,modeling,enterprise-architect
I have two similar (if not identical) node instances that are appearing differently in a deployment diagram (and anywhere else that I use them). I may have done some odd things in the past while beating EA into submission. But, now ... by pulling every lever I can imagine, I...

strongloop slc env-set not possible before deploy?

node.js,deployment,strongloop
Was looking at the docs to set up a few apps deployed to strong-pm but ran into a cart-before-the-horse type issue: It's not possible to set environment variables using slc ctl env-set <service> FOO=bar... before an app is deployed and given a service name. This means that you are forced...

Maintaining a large website [closed]

deployment,version-control
When I update a website I just replace the content with a new file. How do larger websites update their content? When thousands of visitors are viewing the site. How do example, how do Facebook or Twitter do it? Thousands of developers working and millions of visitors on the website....

Restart application server after WAR redeployment on Websphere

java,deployment
Currently I'm supporting a web application project where every time there's a production deployment, we have to restart the Application Server. I ask my colleague why and he said, deployment takes a lot of memory therefore restart is to avoid outOfMemory and PermGen error. I also found out that JBoss...

Ruby on Rails with Github Pages

ruby-on-rails,github,deployment,github-pages,gh-pages
I am attempting to host a project using Github pages. As I understand it, Ruby on Rails cannot be run on GH-Pages, with the exception of using Jekyll. My project is not a blog, and therefor Jekyll seems like overkill. Is there any other way to deploy to GH-Pages? Is...

Is there a way to deploy Libgdx Desktop application with Android Studio (An IntelliJ Idea based IDE)

java,deployment,intellij-idea,android-studio,libgdx
I have read this article about deploying libgdx application on linux, windows and macs. However, it only describes how to export using eclipse. I am currently using Android Studio and it deploys android *.apk files very nicely. And I intend to keep using this. However, I had not figured out...

Git Post-receive hook with part of work tree

wordpress,git,deployment,githooks
I would like to use git to deploy to a website to a testing server. My website is a wordpress theme built with gulp and the repository looks like theme.git/ -- gulpfile.js -- src/ -- build/ I've followed the steps explained here and here which are- set up a bare...

Azure deployment from source without TFS?

asp.net-mvc,azure,deployment
Does anyone knows if the deployment from source feature of Azure is intended to work with .NET projects ? I mean, if I put source code in the local git repository of Azure and then trigger a deploy, is my source code going to be compiled and then deployed or...

Efficient way of organizaing mail sending from Rails app

ruby-on-rails-4,deployment,background-process,mailer
I have an Rails 4 application with ruby 2.1.2 that runs on a VPS with 512 mb of RAM and want to know what are the ways of efficiently managing email notification with background job with the least possible additional background processes ( like Redis and Sidekiq, each of them...

The latest application is not deployed in wso2cloud

deployment,build,wso2,wso2cloud
It seems to me like the latest code that I submitted to WSO2 App cloud is not deployed. I tried to access the jenkins server (https://jenkins.cloud.wso2.com/t/cleancoders/webapps/jenkins/job/draft-trunk-default/) I see there that the latest code is built(upto build 29) but on the App cloud still build 24 is deployed. It seems to...

Automatic update of (Excel-DNA) XLL with Excel opened

c#,deployment,updates,excel-dna,xll
I am developing an Excel XLL Add-In using Excel-DNA and C#. The Add-In is called MyAddIn.xll. The Add-In has been saved to the users local machines, and it has been installed/added to Excel by the following procedure: Excel Options --> Add-Ins --> Manage Excel Add-Ins --> and then adding MyAddIn.xll....

Deploying Golang web app static files with Docker container

deployment,go,docker,static-files
I'm working on a small web application that has some static files (configs and html templates): ├── Dockerfile ├── manifest.json ├── session │   ├── config.go │   ├── handlers.go │   └── restapi_client.go ├── templates │   ├── header.tmpl │   └── index.tmpl └── webserver.go For instance, templates in the code are discovered with...

guidelines for production website

java,spring-mvc,deployment
background: I have been a developer for many years, but never really got involved in administration/deployment of products Now I am developing (in my free time) a social website in Java using Spring MVC and MySQL, at some point I want it to go live, what are the guide lines/...

How to actually deploy to a serious host?

amazon-web-services,deployment,meteor,amazon-ec2,elastic-beanstalk
It's so undescribably discouraging and frustrating that deploying is such a pain. There are no step-by-step guides and every information source is outdated. I have NO idea where to begin! I want to deploy Meteor apps to AWS (EC2 or Elastic Beanstalk) but now I've learned that it doesn't support...

Issue in deploying restlet based application on tomcat

tomcat,deployment,restlet
I am having issue in deploying restlet application on tomcat webserver. I am able to run the application directly from eclipse but when I deploy on tomcat I get issues like the following. May 10, 2015 10:04:32 AM org.apache.catalina.loader.WebappClassLoader loadClass INFO: Illegal access: this web application instance has been stopped...

How do I prevent mina from removing images uploaded on production server?

ruby-on-rails,deployment
Im using mina to deploy my rails 4 app. When ever I mina deploy it clears out all the images that have been uploaded to my app. How do I stop this from happening? Thanks.

FAKE FtpHelper Usage

deployment,f#,f#-fake
I am trying to use F# FAKE to deploy a zip file to GoDaddy using FTP. There seems to be a FTPHelper in FAKE but I can't find any usage examples of how to create a target to use it. http://fsharp.github.io/FAKE/apidocs/fake-ftphelper.html All I've been able to come up with is,...

How to fix Symfony2 deployment issues?

php,symfony2,deployment,doctrine2,symfony-2.7
I'm having this issue for a while at differents environments, differents projects and some times I did fixed some others likes now I can't find what is failing so this is my latest try. I want to deploy a app so following rules as docs say the first I did...

Docker and sensitive information used at run-time

deployment,docker
We are dockerizing an application (written in Node.js) that will need to access some sensitive data at run-time (API tokens for different services) and I can't find any recommended approach to deal with that. Some information: The sensitive information is not in our codebase, but it's kept on another repository...

Laravel 5 on shared hosting getting internal server error

deployment,ftp,laravel-5,shared-hosting
I am trying to get my Laravel 5 project running on my shared hosting through FTP. I have uploaded all my project files from my local XAMP-folder to the server root directory and put the files in the 'public' folder in the public_html folder. When I go to mydomain.com I...

MongoDump Command Not Found on AWS EC2 Instance

mongodb,amazon-web-services,deployment,amazon-ec2,mongolab
Inside AWS EC2 Instance, I am trying to import my MongoLab hosted Database using mongodump command. sudo mongodump -h dsXXXX.mongolab.com:xxxxx -d testDB -u XXXXX -p YYYYYYY -o dumpmongolabs I get the following error -bash: mongodump:command not found I had installed MongoDB like this echo "[10gen] name=10gen Repository baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64 gpgcheck=0" |...

puppet: set global timeout for exec

deployment,puppet
I have a puppet manifest with many operations in exec, here an example of two of them: Exec { path => "/bin" } exec { "apt_get_update": timeout => 0, command => "/usr/bin/apt-get update"; "dlmpi": timeout => 0, command => "wget http://www.open-mpi.org/software/ompi/v1.6/downloads/openmpi-1.6.5.tar.gz", cwd => "/usr/local"; } Is there a way to...

Missing functionalities when deploying Qt application

c++,qt,deployment,printing,about-box
I have created a deploy folder for my Qt gui application, I have added all .dll's he screamed for. The app is running, but there 2 functionalities that are missing. void MainWindow::on_action_About_triggered() { QString filePatch = QApplication::applicationDirPath() + "/changelog.txt"; QFile f(filePatch); if (!f.open(QFile::ReadOnly | QFile::Text)) return; QTextStream in(&f); QMessageBox::about(this, tr("About...

Rails deployment in production - always complain about dalli

ruby-on-rails,ruby,deployment,production,capistrano3
Using I can't get rid of this error when trying a production deployment Could not find cache store adapter for mem_cache_store (cannot load such file -- dalli) (RuntimeError) I really don't understand. So far I've had no problem deploying in development, and even if I change copy /environments/development.rb into /environments/production.rb,...

Mule - Exported project - Error java.io.FileNotFoundException

deployment,path,wsdl,mule
I have exported my mule project which contains a WSDL file in src.main.resources/wsdl-request. The type of export is AnyPoint Studio Project to AnyPoint Deployable Archive. The problem is that when I execute the deployable archive in the server it return this error: Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'file:/C:/Users/usrAdmin/AnypointStudio/workspace/mule-project-test/src/main/resources/wsdl-test/Request.wsdl'....

Embed shared libs in Java Applets

java,deployment,applet,jni
Is it possible to embed linux shared libs (.so) in Java applets? I know that I can call JNI code from applets (privileged only), but is it possible embed these libs inside the applet?...

Executable Java application (JAR) with database packaged inside

java,mysql,database,swing,deployment
I am developing an application with Swing and MySql. I want to distribute it to the clients, where they could run the application on their end/PC without worrying about installing MySql and other technical stuff. So, I thought of bundling JRE and MySql but then I came across Correctly distributing...

Flyway migration on deployment: Illegal call to close() detected

java,deployment,java-ee-6,glassfish-3,flyway
We're building a Java EE 6 .ear application running on GlassFish (3.1.2.2b5) and use Flyway (3.2.1) to manage our database schema. This happens on deployment of the .ear - There's an article on the web called "Easy Database Migrations using Flyway, Java EE 6 and GlassFish" which nicely outlines how...

maven multi-module artifact deployment

java,maven,deployment,configuration
I have a multi-module maven project where the parent builds all modules and the child pom aggregators handle config file deployments. I am able to deploy the bundles via mvn clean deploy from the parent module; however, this fails to attach the config-files specified in the build-helper plugin section of...

Execute build file for Teamcity locally

deployment,msbuild,command,teamcity
I'm going through the tutorial from this website which explains how to use a custom MSBuild script (*.build). Because I'm new to this topic my question is how I can locally test the custom MSBuild script without Teamcity/VCS. Knows anyone the command for the command line? Or isn't that possible?...

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...

Programmatically find the 'main' javascript file for libraries on GitHub

javascript,github,deployment,npm
I'm looking to find a way of finding the "key" javascript file from javascript libraries posted on GitHub in as automated as a way as possible. So for example, this bootstrap extension called Jasny has a ton of files on the GitHub page. To get the key js file you...

How to deploy to autoscaling group with only one active node without downtime

amazon-web-services,deployment,autoscaling
There are two questions about AWS autoscaling + deployment which I cannot clearly answer: I'm currently trying to figure out, whats the best strategy to deploy to an EC2 instance behind an ELB which is the only member of an autoscaling group without downtime. By now the EC2 setup will...

How to correctly add ENV[“SECRET_KEY”BASE"] in rails

ruby-on-rails-4,deployment
I am having a difficult time setting up Rails 4.2 in production on a VM running on passenger and nginx, and not using RVM or anything similar. I got Incomplete response received from application and looking in the nginx error log it said something about missing secret_key_base and secret_key although...

Application is deployed on cloudhub but can't reach it

deployment,mule,cloudhub
I've deployed my application on cloudhub.io after testing in on my local machine. The log says the application has been successfully deployed and is running as it should, but when i try to use it, i get a page that says : If you deployed your application and expected to...

Meteor deploy with MUP, my collections are not deployed

javascript,mongodb,deployment,collections,meteor
I create my app with meteor and deployed it in my own server with MUP. The deployment was successful but the database did not have my collections. I defined the collection in the file lib/collections/name_collection.js. This is an example of the files: campaigns = new Mongo.Collection("campaigns"); campaigns.initEasySearch(['name','startDate','endDate']); campaigns.newSchema=function(){ return new...

Java Swing Application in a web

java,html,swing,deployment
I'm doing a portfolio with projects I've made and I have some Java Swing projects. I'm not sure about which is the best way of showing them in my web. I've tried to export them to jar and embed in the html but it doesn't work. Is there any other...

Django syncdb on first deployment

python,django,deployment,django-models
So I've managed to create a site with django 1.8 and I'm ready to deploy. I have several new models and I'm using django-allauth which has it's own models. I've also managed to make changes to settings with a config file to use different databases for production and development as...

Restore previously used database

c#,database,deployment
I have publish a windows form application including a database. The published application is running well both my and others computer. But the problem is i have saved many data in my database and now i need to change some option of my application. After completing the change if i...

running node.js sails app on openshift

node.js,deployment,sails.js,openshift
I'm trying to deploy my node.js sails app on openshift. I followed procedure outlined in https://gist.github.com/mdunisch/4a56bdf972c2f708ccc6 but still doesn't work. also try this: Node.js app on openshift no matter what i'm getting "Service Temporarily Unavailable" The server is temporarily unable to service your request due to maintenance downtime or capacity...

Best way for deployments with builds, dependency managers and GIT? [closed]

wordpress,git,magento,deployment,build
I'm currently working with Git, Git Flow, Gulp and Bower. I'm working on the develop branch and create releases with Git Flow to the master branch. So develop is equal to my local and test environment, release/version to the acceptance environment and the master branch is equal to the production...

Change publisher name when deploying application

visual-studio,deployment,installer
How do I change the Publisher field form Unknown to something else. (I'm using Visual Studio and using Setup Project as my installer) Example below ...