I have created a web-app in Go and I would like to make it possible to run it on a server or on app-engine in the smoothest way I can.
Basically I created a single .exe (I am developing on Windows) and a set of folders wih static files. In addition there is a folder with N configuration files.
These config files include all the configurations needed to setup the db, the folders/paths to write logs into, and so on.
At "time 0" when I double click the .exe on my local machine the installation process starts. It looks at the config files (and if they do not exist they are even created) and updates them as per the answers I give on the console. In addition the app generates log files on the filesystem.
My question: can I "upload" my go code on app engine "as-is" and just include some configurations specific to appengine on the yaml file, or am I forced to amend MY Go code so that: 1) the main() must look for the config files elsewhere on app-engine and 2) the logs are read/written from/to specific paths on app-engine
In other words, I wonder whether I can achieve a sort of "write once and run/deploy everywhere" version of my web app.
It's my first question on the community so I hope I folowed all instructions. Thanks.