deployment
Heroku deployment error H10 (App crashed)
I ran into the same error above, app was crashing on heroku (running fine in dev) but error logs on heroku were not revealing any clues. I read other answers on this page and broke out in a sweat after seeing “rebuilding the app.” I figured maybe I could get in the heroku console and … Read more
Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly
You have to upload your public key to Heroku: heroku keys:add ~/.ssh/id_rsa.pub If you don’t have a public key, Heroku will prompt you to add one automatically which works seamlessly. Just use: heroku keys:add To clear all your previous keys do : heroku keys:clear To display all your existing keys do : heroku keys EDIT: … Read more
Android Studio – local path doesn’t exist
I originally saw this error after upgrading from 0.2.13 to 0.3. These instructions have been updated for the release of Android Studio 0.5.2. These are the steps I completed to resolve the issue. 1.In build.gradle make sure gradle is set to 0.9.0 buildscript { repositories { mavenCentral() } dependencies { classpath ‘com.android.tools.build:gradle:0.9.0’ } } 2.In … Read more
.war vs .ear file
A WAR (Web Archive) is a module that gets loaded into a Web container of a Java Application Server. A Java Application Server has two containers (runtime environments) – one is a Web container and the other is a EJB container. The Web container hosts Web applications based on JSP or the Servlets API – … Read more
Java Jar file: use resource errors: URI is not hierarchical
You cannot do this File src = new File(resourceUrl.toURI()); //ERROR HERE it is not a file! When you run from the ide you don’t have any error, because you don’t run a jar file. In the IDE classes and resources are extracted on the file system. But you can open an InputStream in this way: … Read more
Running .net based application without .NET Framework
There are a several different tools out there, a couple I have tried are: XenoCode Postbuild (now Spoon Studio) (now TurboStudio) Salamander .NET Linker You can find more by doing a search for “.NET Linker.” The two above, which I tried, seemed to work ok, but I never widely tested my code built with them. … Read more
Deploying Qt 5 App on Windows
Starting from Qt 5.2, there is windeployqt tool you can use. Just run it from command line to get help. But basic usage is, give it the .exe file, it will copy Qt dependencies to go with it. You will want to use –qmldir option to let the tool know where your QML files are, … Read more
How do you maintain development code and production code? [closed]
Update 2019: These days, the question would be seen in a context using Git, and 10 years of using that distributed development workflow (collaborating mainly through GitHub) shows the general best practices: master is the branch ready to be deployed into production at any time: the next release, with a selected set of feature branches … Read more
How can I deploy an iPhone application from Xcode to a real iPhone device?
I’ve used a mix of two howtos: Jason’s and alex’s. With the second we have the advantage of being able to debug. I’ll mostly just copy both below (and simplify alex’s): Update Jan 2012: this still works on SDK 4.2.1 and iOS 5.0.1 – I’ve just tested it all on a new computer and device! … Read more