We are actually working on a new p2p feature: "service". A new keyword that runs a daemonized command ! See features/service branch.
Table of content
What does p2p ?
P2p is a command line tool written in ruby that push any apps to production with a single configuration file and in one command. It uses ssh and don't require any agent on the distant machine.
- Add the distant machine using p2p and give it a name.
- Write a config file named
.p2pat your project root. - Execute
p2p -eat your project root.
And your app is now running on your distant host !
Installation
Requirements:
- Ruby, gem and bundler
- ping
- openssh
- scp
- tar
- curl
curl https://raw.githubusercontent.com/camarm-dev/p2p/main/install.sh | sudo shAcknowledgement
- Rocket icon by Etta.
- Logo by @camarm (armand@camponovo.xyz) under CC BY-NC-ND 3.0 FR.
- Code under MIT Licence, attribution to @camarm (armand@camponovo.xyz).
