Skip to content

camarm-dev/p2p

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
cli
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
p2p
 
 
Push 2 Prod

Push to prod

Push 2 prod: the easiest and modern way to push any apps to production in one command.

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.

  1. Add the distant machine using p2p and give it a name.
  2. Write a config file named .p2p at your project root.
  3. Execute p2p -e at 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 sh

Acknowledgement

About

Push 2 prod: the easiest and modern way to push any apps to production in one command.

Resources

License

Stars

Watchers

Forks

Packages

No packages published