deployment

Manually remove Python package on Heroku

旧街凉风 提交于 2019-12-18 13:25:27
问题 I was running heroku push master , and got this: ----- Python app detected ----- No runtime.txt provided; assuming python-2.7.3. ----- Using Python runtime (python-2.7.3) ----- Installing dependencies using Pip (1.2.1) Downloading/unpacking Django-1.5c2 from https://www.djangoproject.com/download/1.5c2/tarball (from -r requirements.txt (line 1)) Cannot determine compression type for file /tmp/pip-rYIGHS-unpack/tarball.ksh Running setup.py egg_info for package Django-1.5c2 Installing collected

deploying winform application with embedded sqlite

て烟熏妆下的殇ゞ 提交于 2019-12-18 13:24:49
问题 I'm deploying a winform application built with vs 2008 0n XP sp3. I created a database with empty schema which i dropped in the root folder of the project and in properties i choosed Build Action : Embedded Resources and Copy to Output directory : Copy always . Now instead of having connectionstring in the app.config connectionString section, i put an entry in appSetting : key ="database"; value ="mydb.db;Version=3". So to create my connectionString i used : SQLiteConnection con = new

deploying python applications

北战南征 提交于 2019-12-18 13:09:15
问题 Is it possible to deploy python applications such that you don't release the source code and you don't have to be sure the customer has python installed? I'm thinking maybe there is some installation process that can run a python app from just the .pyc files and a shared library containing the interpreter or something like that? Basically I'm keen to get the development benefits of a language like Python - high productivity etc. but can't quite see how you could deploy it professionally to a

Docker Rails app fails to be served - curl: (56) Recv failure: Connection reset by peer

╄→гoц情女王★ 提交于 2019-12-18 12:51:38
问题 I build a Rails app container with the following Dockerfile: $ cat Dockerfile FROM ruby:2.2 MAINTAINER Luca G. Soave <luca.soave@gmail.com> RUN apt-get update && apt-get install -y nodejs --no-install-recommends && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y mysql-client postgresql-client sqlite3 --no-install-recommends && rm -rf /var/lib/apt/lists/* RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY . /usr/src/app/ RUN bundle install EXPOSE 3000 CMD ["rails",

STATIC_ROOT in Django on Server

百般思念 提交于 2019-12-18 12:34:17
问题 I'm 2hours stuck in a issue about STATIC_URL and STATIC_ROOT when I try to make run the webapp on my server at webfactional. when I load the webpage all the requests works well, except by the fact that any link with {{ STATIC_URL}} is working or loading. So a common error that appears on firebug is: GET http://mydomain/static/extras/h5bp/js/libs/modernizr-2.5.3.min.js 500 (Internal Server Error) My setup is: urls.py I did nothing, and there's nothing about static files. settings.py DEBUG =

Alternative to HttpUtility for .NET 3.5 SP1 client framework?

主宰稳场 提交于 2019-12-18 12:24:22
问题 It'd be really nice to target my Windows Forms app to the .NET 3.5 SP1 client framework. But, right now I'm using the HttpUtility.HtmlDecode and HttpUtility.UrlDecode functions, and the MSDN documentation doesn't point to any alternatives inside of, say, System.Net or something. So, short from reflectoring the source code and copying it into my assembly---which I don't think would be worth it---are there alternatives inside of the .NET 3.5 SP1 client framework that you know of, to replace

Facebook login - how to develop on both localhost and in production?

徘徊边缘 提交于 2019-12-18 12:07:47
问题 I am developing a website which uses the Facebook login. Now, I want to be able to get this to work both in my production environment, as well as in my development environment. On Facebook, I can give ONE site url, which Facebook can redirect to. This worked great during my development phase, but now I want it both to work in production, but also while developing my solution. I guess one way would be to run my application on the local IIS with my domain-navn and change my hosts file, but that

Maven - deploy dependencies to remote repository

淺唱寂寞╮ 提交于 2019-12-18 11:51:49
问题 I have a few projects with LOTS of maven dependencies. When I invoke the command mvn deploy (or some variation of it), I would like to not only have the project itself deployed to the remote repository, but also all of its dependencies as well. Is this possible? I see many 'similar questions' on this site, but I can't seem to find anything that is as simply put as this. Everything else I've seen seems to expect some additional functionality. I simply want to deploy my project, plus all of its

Multistage deployment with ansible

独自空忆成欢 提交于 2019-12-18 11:36:07
问题 What approach would you advise to organize multistage deployment with Ansible in case you have different variables for stages? The main idea is defining group variables for different stages. There are two articles: http://rosstuck.com/multistage-environments-with-ansible/ http://toja.io/using-host-and-group-vars-files-in-ansible/ I'd like to get more examples about organizing playbooks, variables, and hosts, and understand advantages and disadvantages of your approach. 回答1: Recently, I used

Deploy a Desktop Shortcut to a Device running Windows CE 4.2 (VS2005)

怎甘沉沦 提交于 2019-12-18 10:57:22
问题 I have an application written using VS2005 in C# targeting the Compact Framework 2.0 SP2. As part of the solution, I have CAB deploy project which deploys to the device without a problem. What I can't do is create a shortcut to my application on the devices desktop. I have spent several hours reading various bits of documentation (why is the search at the MSDN site so bad?), followed the instructions but no joy. What I've done is: Add the "Windows Folder" node to the File System Created a