remixz / run-js

A prototyping server that just works.
MIT License
188 stars 12 forks source link

Add support for deploys #6

Open remixz opened 8 years ago

remixz commented 8 years ago

It would be really cool if the user could instantly deploy their code right from the app (maybe CLI too, though I really envision most of this app as a GUI). The deploy would do all the magic, like minifying and such. I'm not sure where exactly it'd be stored, though. I like surge.sh a lot. Maybe it could hook into that?

tunnckoCore commented 8 years ago

I don't think it's needed when we have surge.sh as you mention. I mean.. they can just combine them both, no more job is needed. You run run-js, develop, build dist directory and then just surge dest, so i don't see any additional needs.

Or.. can just add command to run-js which (install and) executes surge on defined dest/dist.

tunnckoCore commented 8 years ago

oo huh.. i'm not okey today, lol. really it needs only build command to write files (the markup file with script tag to bundled js file)

hugollm commented 8 years ago

So there's no build command yet? I could'nt find it in the README (or the code). Can someone point me to how to do it manually? I'm kinda new to (this) javascript world.

tunnckoCore commented 8 years ago

@hugollm welcome! :)

And no, there's no build command yet and I think you can't do it manually.