|Related to : How to deploy files in JAR?|
|How can I opensource my code on git and maintain deploy scripts with proper config files?|
You have some options.
Use environment variables: You can set environment variables at both
your local and production machines. In your app you'll read these vars
by doing: <%= ENV['my_var'] %>. Doing this you can commit your
app to a public repo without worrying about expose sensitive
information like passwords and keys. For example, set a db_password
environment var to store your databas
|Tomcat 8 using JDK 1.8, app deploy causes NPE|
We had this issue with these configurations:
Using CATALINA_BASE: /opt/tomcat
Using CATALINA_HOME: /opt/tomcat
Using CATALINA_TMPDIR: /opt/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.8.0_45
Server version: Apache Tomcat
Server built: May 19 2015 14:58:38 UTC
Server number: 188.8.131.52
OS Name: Li
|Need to Deploy MVC App to production|
We use for the exact same scenario Entity Framework Migrations.
It works without any problems.
You can easily change the database from version to version.
Also downgrading is supported.
With some third party tools you can also add other dbms then SQL
|How to deploy app in ios simulator(Xcode 6.0.1)|
You should use Xcode's 'Build & Run' feature to install and run
your app. If that is not an option available to you, you can bundle
your app yourself and use simctl (new in Xcode 6.0) to install your
xcrun simctl list # get the UDID
xcrun simctl install [Device UDID] /path/to/MyGame.app
xcrun simctl launch [Device UDID] com.mycompany.mygame
If you have a newer version of Xco
|How to deploy a Mono application?|
Ended up using lighttpd with the mod_mono module. Came down to copying
the files to the server, run a web server locally on the server (just
like local xsp4 only then production ready) and configure lighttpd to
point a proxy towards it. Similar idea as Mono and nginx as described
Link with script for deploying to Ubuntu with mod_mono and nginx: