5 ms·
What about dependencies? Client-side resources such as .js and .css files, configuration files maybe, migrating the data even? A web app is (virtually) never ju
by skrebbel 14y ago
What about dependencies? Client-side resources such as .js and .css files, configuration files maybe, migrating the data even? A web app is (virtually) never just its server side code.
- alecthomas 14y agoI wrote gobundle[1] as one solution to this. [1] https://github.com/alecthomas/gobundle https://github.com/alecthomas/gobundle
- StavrosK 14y agoThat's very interesting! Do you just append the bundles to the executable and then have it read itself? I didn't look at the code, admittedly.
- alecthomas 14y agoIt generates Go code which is compiled in to the package.
- eikenberry 14y agoThe original article didn't discuss deploying assets, only the app/code. I suppose that might have been implicit, but I typically handle them separately.