Use Makefile to build shindig, makefile does the following steps.
Change these files before compile:
Uncomment these lines for production and comment them for development
db.url=jdbc:mysql://localhost:3306/graaasp_development
db.user=graaasp
db.password=graaasp
Uncomment these lines for production and comment them for development
shindig.signing.global-callback-url=http://localhost:8080/gadgets/oauthcallback
Change the port and host for your shindig installation
<context-param>
<param-name>system.properties</param-name>
<param-value>
shindig.host=localhost
shindig.port=8080
shindig.container_url=http://localhost:3000
aKey=/shindig/gadgets/proxy?container=default&url=
</param-value>
</context-param>
Production: compiled .war file should be renamed into ROOT.war on the Tomcat server.
java/server/target/shindig-server-2.0.0.war
Change these files before compile:
Uncomment these lines for production and comment them for development
db.url=jdbc:mysql://localhost:3306/graaasp_development
db.user=graaasp
db.password=graaasp
Uncomment these lines for production and comment them for development
shindig.signing.global-callback-url=http://localhost:8080/gadgets/oauthcallback
Change the port and host for your shindig installation
<context-param>
<param-name>system.properties</param-name>
<param-value>
shindig.host=localhost
shindig.port=8080
shindig.container_url=http://localhost:3000
aKey=/shindig/gadgets/proxy?container=default&url=
</param-value>
</context-param>
from: java/server/target/shindig-server-2.0.0.war
to: ./production.war or ./devtest.war