deployment

ClickOnce download fails unless end user has VS2008

烈酒焚心 提交于 2019-12-23 20:21:56
问题 I'm still working on the problem described here, trying to get ClickOnce to work from Visual Studio 2008. I originally assumed the problem was related to the fact that the application I was deploying was upgraded from 2005. But that's not the case. I created a new VS2008 application and deployed it with the same result. I've tried (I think) every possible combination of publish settings (except signing the manifest, which I don't need to do because I'm deploying over an intranet). Most users

Heroku Error - Error: Failed to lookup view “index” in views directory

◇◆丶佛笑我妖孽 提交于 2019-12-23 19:01:48
问题 I keep getting this error when deploing to Heroku. Build process was succesfull but then I get this error. Can't figure out what is the problem and shouldn't path be src/server/views? Everything is working locally. Error: Failed to lookup view "index" in views directory "src\server/views" [web.1]:at /app/node_modules/express/lib/router/index.js:281:22 app[web.1]:at param (/app/node_modules/express/lib/router/index.js:354:14) app[web.1]:at Function.render(/app/node_modules/express/lib

JPA and database in a single jar

亡梦爱人 提交于 2019-12-23 18:46:44
问题 I created an app which uses JPA and MySQL. Now I like to create simple desktop application out of it (eg a simple jar would be best). Two questions: What's the easiest way to get a project including all jars it depends on out of eclipse in a simple jar? Can I use a database like sqlite or derby which requires no installation (eg can be included in the jar) for JPA? 回答1: What's the easiest way to get a project including all jars it depends on out of eclipse in a simple jar? Create a Java

How to override the keys in windows services .exe.config file through VSTS release definition

吃可爱长大的小学妹 提交于 2019-12-23 17:49:32
问题 I am working on VSTS release task for deploying the Windows Services Project. Unfortunately, we are not creating any Build Definition for creating drop folder. But, my client will provide drop folder for this project, what I need is “I want to override the keys of an existing .exe.config file” at release level. For creating the Windows Services Deploy task,I followed this Windows Services Extension For example my drop folder looks like below: Many thanks for this reference article and It's a

Tracking deployed application's files

强颜欢笑 提交于 2019-12-23 17:26:39
问题 What do you guys use to deploy and application and track their files in production? I mean tracking if the file was not changed directly in the server? thanks 回答1: I have been using Git for 3 years to track /usr/local on a HPC production cluster. For 2.2G (mostly binaries) it takes 1 minute running git log -n 1; git status (over NFS!) to convince myself that the files were not modified after deployment. On local disk the scan would take seconds. If change did happen, I see which files and

MsDeploy Virtual Directory gets converted to Virtual Application on deploy

你离开我真会死。 提交于 2019-12-23 17:23:48
问题 For my CMS to work properly it needs to be deployed to a virtual directory underneath the www root so it can access (via reflection) the website to manage (note: CMS = N2CMS). When using Visual Studio 'Publish To Web' all is fine. But when I generate the package via msbuild commandline and publish that version my virtual directory is converted to a virtual application. I configured my remote server to have a virtual directory '/n2' underneath my IIS web application ('exampleapp') and

South migration: delete all migration files (00*_*) and start from 0001, while keeping the original data

时光总嘲笑我的痴心妄想 提交于 2019-12-23 17:13:00
问题 I am developing web systems using Django and they are deployed on Heroku. After the system goes production, all database data and the migration files (i.e., the 00*_* files) have to be retained. The followings are my procedure to perform database migration and deployment: For the first deployment, perform manage.py makemigrations locally and push to Heroku. Perform manage.py migrate on Heroku. If models are changed later: Perform makemigrations locally and push to Heroku. Perform migrate on

AWS EBS Deploy: Update environment operation is complete, but with errors. For more information, see troubleshooting documentation

那年仲夏 提交于 2019-12-23 16:54:11
问题 I've been dealing with this issue since yesterday. All working until 4 PM and suddenly after that this error keeps coming. Creating application version archive "882a". Uploading: [##################################################] 100% Done... INFO: Environment update is starting. INFO: Deploying new version to instance(s). INFO: Command execution completed on all instances successfully. INFO: New application version was deployed to running EC2 instances. ERROR: Update environment operation

Updating local SQL Server databases with ClickOnce Deployment

帅比萌擦擦* 提交于 2019-12-23 15:24:15
问题 I'm building an application which will use some settings and a local SQL Server. My question is, when it comes time to update the application; will the settings or data be overwritten? What happens if I want to change some tables around in the future? 回答1: Frankly, I've always thought that ClickOnce's way of handling data is dangerous. If you deploy a database with ClickOnce, it puts it in the DataDirectory. Then when you deploy an update to the application, it copies the database forward to

Deploy ROR application to a machine without internet access

ε祈祈猫儿з 提交于 2019-12-23 15:15:27
问题 I complete a simple Ror hello world application. The problem for me now is how i can deploy it another Window machine which is physically off to the Internet. I can copy files and application by USB. But how can i install gem to that machine? Does anyone have similar experience? 回答1: You can do bundle package to package the gems (in a machine with internet) and copy over. You can then install local gems using bundler: bundle install --local Not that you could get bundle gem itself by doing: