7 ms·
Show HN: Shipit, pure JavaScript deployment tool used by Ghost blogging platform
- tmikaeld 12y agoSweet, i may actually use it, more documentation would be nice though.
- neoziro 12y agoIf you need more documentation about deploying using Shipit, you can find it in the deploy set of tasks: https://github.com/shipitjs/shipit-deploy https://github.com/shipitjs/shipit-deploy
- marmoto 12y agoMy childish brain pulled a full-Freudian with that name. Might want to capitalize the I maybe?
- pmp0x 12y agoLooks very similar to: https://www.npmjs.com/package/flightplan https://www.npmjs.com/package/flightplan
- neoziro 12y agoYes, it looks like, I didn't know this project.
- pmp0x 12y agoBut ShipIt seems to be more modular and event driven while flightplan is just a rundown of various commands...
- andrewchilds 12y agoYou might also be interested in Overcast (I'm the author): https://www.npmjs.com/package/overcast https://www.npmjs.com/package/overcast
- deleted 12y ago[deleted]
- neoziro 12y agoShipit is an automation and deployment tool, git hook is just a hook on a git command. You can't run a command on 10 servers in parallel using git hook post-receive.
- stephenr 12y agotechnically, a hook shell script could start 10 background commands, or start 10 commands using GNU Parallel. This obsession with using a single language for everything is ridiculous and needs to end.
- ojanik 12y agoWhy Javascript?
- Kudos 12y ago> Shipit was built to be a Capistrano alternative for people who don't know ruby, or who experienced some issues with it. If you want to write tasks in JavaScript and enjoy the node ecosystem, Shipit is also for you.
- roelvanhintum 12y agoNice, i prefer node over ruby, so maybe i'll use this. For the same reason i prefer LESS over SASS (apart from the great performance improvement).
- neoziro 12y agoFor Less and Sass, it's not very annoying because you don't have to write a lot of ruby code. But writting a complete deployment script if you don't know ruby is very hard... I love to be able to use my favorite JS modules in my deploy script, that's why I wrote Shipit.
- roelvanhintum 12y agoThat is one solid point. Thanks for helping all of us out!
- nailer 12y agoIf you run `npm install -g sass` you'll get the native JS version of SASS.
- roelvanhintum 12y agoThanks, didn't know that. Right now i was using libsass for some projects. It compiles faster than the ruby sass.
- joshcrowder 12y agoThe problem is that native sass is not the same version as ruby sass its infuriating.
- halfdan 12y agoWhere is Ghost using this tool?
- fredoliveira 12y agoI'd guess they use it on their hosted platform.
- halfdan 12y agoWould be my guess too, but other than a single PR from one of the core devs I can't find any connection between the projects. Is there any source for this?
- neoziro 12y agoThey used in to deploy projects internally, same for Le Monde. Shipit is not designed to Shipit projects over a lot of servers. It's designed to Shipit small projects or even to ship code on hardware (like raspberry).
- frik 12y agoIs ShipIt an Ansible replacement? The idea of Ansible is good, but I would like a JavaScript based tool and avoid Ruby. Edit: i meant Python
- mateuszf 12y agoAnsible is written in Python.
- treehau5 12y agowhat about ruby makes you want to avoid it? strictly curious
- frik 12y agoSorry, I meant Python. I am familar with Algol syntax based languages and prefer C/C++/ObjectC/C#/Java/PHP/JS/Go/Rust/Lua/Basic/Pascal/Ada/Smalltalk/Scheme over Python/Ruby/Haskel.
- dragonwriter 12y agoWhat does Algol syntax have to do with that? Several of the first set of languages you list are not Algol-based, while two of the last three are Algol-syntax-based.
- pyre 12y agoYou can do most of your Ansible work without needing to touch Python. I'm a Python programmer, and I've never needed to touch Python (other than running Ansible, which is a Python program) with respect to an Ansible setup.
- neoziro 12y agoShipit can be an Ansible replacement, but there is no command abstraction to Shipit. Shipit is designed to quickly deploy a project on a set of servers not to configure an entire server.
- kh_hk 12y agoI am starting to see the light on all this tooling madness. It does not matter: languages and their ecosystems are powerful enough for any project to build their own tools. Projects are fond of their tools, so they give them fancy names and logos, and release them in hopes they are useful to somebody.
- neoziro 12y agoWhen will you release a deployment tool in Haxe?
- deleted 12y ago[deleted]
- jzig 12y agoHow is this different from Grunt or Gulp? Is it used with or in place of? After reading the docs I'm not sure I see the difference or the value add.
- neoziro 12y agoShipit can run local and SSH commands easily on a group of servers, there is also a set of tasks ready for deployment.
- neoziro 12y agoTry deploying just with grunt and you will see the difference.
- thoughtpalette 12y agoThe grunt-aws module makes deploying to S3 and cloudfront a breeze. We switched to this for all our FE devs awhile ago and it's been painless. https://github.com/jpillora/grunt-aws https://github.com/jpillora/grunt-aws
- nailer 12y agoIt leverages 'orchestrate' (which is what gulp uses) to do deploys across a variety of hosts, keeping the old versions around should you need to switch back easily.
- rizalp 12y agoWhat's the difference between build tool, like gulp and deployment tool like Shipit?
- pstadler 12y agoGlad to see some more effort going into deployment tooling. I think the main goal of reinventing such tools in different languages is to get rid of the need of having dependencies outside of the current project's platform, which makes sense, for me at least. Shameless plug: I'm the author of Flightplan[1], a library which provides a simple, yet powerful interface to execute sequences of shell commands on local and remote host(s). [1] https://github.com/pstadler/flightplan https://github.com/pstadler/flightplan
- Dasuchin 12y agoI'm a huge fan of Flightplan. I used it extensively at a past job and added it into our default stack. Every site we worked with (60+ at the time I left) was using Flightplan for deployment.
- astrojams 12y agoIt would be cool to see a tutorial on configuring Shipit to do Ghost deployments.