https://github.com/camarm-dev/p2p
Push 2 prod: the easiest and modern way to push any apps to production in one command.
https://github.com/camarm-dev/p2p
Last synced: 12 months ago
JSON representation
Push 2 prod: the easiest and modern way to push any apps to production in one command.
- Host: GitHub
- URL: https://github.com/camarm-dev/p2p
- Owner: camarm-dev
- License: mit
- Created: 2023-04-13T12:20:49.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-30T12:32:47.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T02:49:11.621Z (over 1 year ago)
- Language: Ruby
- Size: 10.5 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README

# 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 ?](#what-does-p2p-)
- [Install](#installation)
- [Documentation](https://github.com/camarm-dev/p2p/blob/main/DOCUMENTATION.md)
- [Acknowledgement](#acknowledgement)
## 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
```shell
curl https://raw.githubusercontent.com/camarm-dev/p2p/main/install.sh | sudo sh
```
## Acknowledgement
- Rocket icon by [Etta](https://www.svgrepo.com/author/Etta/).
- Logo by @camarm (armand@camponovo.xyz) under [CC BY-NC-ND 3.0 FR](https://creativecommons.org/licenses/by-nc-nd/3.0/fr/).
- Code under [MIT Licence](https://github.com/camarm-dev/p2p/blob/main/LICENCE), attribution to @camarm (armand@camponovo.xyz).