by 3amOpsGuy · 14y ago · 0 comments
How should deployment work for an app created in this framework?
From the "How Revel Works" page it mentions:
>> If the app compiled successfully, it runs the app ...<snip>...
Is it simply a case of lifting and dropping the binary (ensuring it's linker dependencies are satisfied on the dest host)?Would the final artifact be deployable to google app engine?
It needs the source directories since templates and assets are kept within them. Also, it is frequently useful to have access to the source in production, e.g. for sending exception emails.
The goal is to make deployment to a server without a Go environment very easy.
EDIT: To answer your original question: in the current version, you must have a working Go installation to run your Revel app. Then: "rev run import/path/to/app prod". I am pretty sure that it will not work on GAE -- I realize this is an important/valuable use case and will investigate it in the future.
Meantime I've just installed go... Wish me luck!