Hi there, I downloaded the Open Foris app package and it is a great application you have made. Hats off. I made it work on my localhost. But I am facing problems while I'm trying to host the app on cloud. I tried to host the collect app on cloud server(on Heroku) by cloning from Open Foris git repo(https://github.com/openforis/collect.git), but kept on getting various issues and was unable to make the app work online. Can you guide me as simply as possible on how can I host collect and other open foris apps on a cloud server best is targeted for heroku.? P.S. I'm focusing on heroku because basic plan comes for free. Thank You, Sushil. asked 12 Aug '16, 21:19 sushil74432 |
Hi Sushil, answered 15 Aug '16, 11:46 Stefano (OF) ♦♦ @stefano Thanks for the suggestion. I would have done that way but I need to make it accessible to large area. So LAN isn't possibility for now.
(15 Aug '16, 14:41)
sushil74432
|
I now switched to AWS. I created an UBUNTU instance there,setup everything and installed Tomcat7. In the webapps folder of tomcat I downloaded the .war file from link you had provided. Restarted my tomcat, but nothing happened (blank screen appears). I also tried all other possibilities I knew of. This is the public IP for the site. http://52.42.146.254:8080/ Is there anything I am missing? Thank You. answered 15 Aug '16, 14:32 sushil74432 |
Yes, there is something else missing. You need to define the Collect application context file. This file contains the database connection parameters. You can download a template of that file here. Modify the file with your settings and then put the file inside this path: answered 15 Aug '16, 14:41 Stefano (OF) ♦♦ |