An easy rails APT package repository.
ubuntu and ruby on rails
sudo aptitude install reprepro
auth_key: 8d26a8f6751a3caf7
base_dir: package
distributions:
- origin: Companay, inc.
label: Companay, inc.
codename: natty
architectures: amd64
components: main
description: Companay Apt Repository
signwith: false
- origin: Companay, inc.
label: Companay, inc.
codename: trunk
architectures: amd64
components: main
description: Companay Apt Repository
signwith: false
options:
- verbose
- --ask-passphrase
gpg --gen-key
And follow the instructions.
gpg --list-key
gpg -a --output project.gpg --export 6FFD7XXX
Configure the path or put it one some public place.
Then, configure the 'signwith'
curl http://x.x.x.x/keys/pub.gpg | sudo apt-key add -
echo "deb http://x.x.x.x/apt natty main" > /etc/apt/sources.list.d/mu.list
sudo aptitude update
sudo aptitude install your-package
- Push
POST http://x.x.x.x/package/upload
- List
GET http://x.x.x.x/package/list
curl -F package=@sample_1.0_amd64.deb -F code=stable -F key=yourkey http://x.x.x.x/package/upload