Comments (4)
Hmm I'm not sure I'd want a dependency on Docker, it could get really complicated quick. I think that sort of thing is probably best left to CI like GH Actions where you're building in the target environment already, but something to think about for sure
from up.
I'm told this what I need to do: https://gist.github.com/egonelbre/01bbf7ca97d6b5588438da36a2578e7b
I do really want a smooth way to deploy locally without CI.
from up.
I have no previous experience with apex/up, but as far as I'm able to deduce it seems that hooks.build
is a way to override with arbitrary build command? So it should be possible to pretty much use the same invocation -- maybe modify it to output "server" as the binary. Although, I'm not sure in which computer/server context will run.
The only concern is invoking subcommands such as $(pwd)
and $(go env GOPATH)
within the command. Maybe it can invoke a separate script? Based on
from up.
@egonelbre yep it runs as a shell command, so you should be fine to use stuff like that
@kaihendry yeah I definitely hear you, but the number of variables explodes once you start introducing platform specifics. Using Docker manually locally and putting Up inside would more or less have the same UX as Up trying to use Docker, so I'm not sure there would be much of a benefit, since Up would have to support all the various OSes and shared libraries etc
from up.
Related Issues (20)
- Up re-uses an URL despite being run on a different repo, what gives? HOT 2
- fetch requests fails as network errors on chrome console HOT 4
- Support Apple M1 CPU HOT 6
- Support ES Modules with the nodejs14.x runtime
- [PRO] EOL: update warming runtime to nodejs14.x HOT 7
- Node.js AWS SDK V3 credential issue when using "profile" in up.json HOT 1
- Errors are reported in many lines
- AWS API Gateway is setting MIME type for Excel and Word to ZIP
- Remove old Lambda Version HOT 2
- Deployment Fails with "ResourceConflictException" in Lambda HOT 32
- Possible to statically serve up from root endpoint instead of /stage? HOT 1
- Up chooses ineligible certificate from acm
- Wiki link broken
- nodejs10.x is no longer supported HOT 3
- Luna
- Is apex up still a reliable, maintained deployment solution HOT 1
- 09371237653
- Passing SIGINT signals inside the application.
- Vulnerability of dependency "golang.org/x/net" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from up.