diff options
author | Dhaivat Pandit <me@dhaiv.at> | 2015-04-11 11:27:19 -0700 |
---|---|---|
committer | Dhaivat Pandit <me@dhaiv.at> | 2015-04-11 14:42:18 -0700 |
commit | b8d52953820085eeba47bfde3b51b89a68bc0f8f (patch) | |
tree | 9a7352f90d815acbfe186ab56791435a739631ec /.gitignore | |
parent | 4161f66ccaacc57b445f1a1add35c429de84c63a (diff) |
Packaging: first cut of working deb and rpm build
* to build deb & rpm simply run
```
version=<se.mv.er> vagrant provision
```
vagrant shell provisioner will run the inline script and generate
a deb and an rpm file in the local directory. This is achieved by
multivm Vagrantfile one for centos and one for debian
* To install the generated deb - run sudo dpkg -i
* /pgcli/pgcli_<se.mv.er>.deb (then sudo apt-get install -f if deps
are missing on a clean debian install)
* To install generated rpm - sudo yum install path-to-rpm
* package will be installed under /usr/share/pgcli
* script pgcli will be a symlink in /usr/local/bin/pgcli ->
/usr/share/pgcli/bin/pgcli (with right shebang line
#!/usr/share/pgcli/bin/python)
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -56,4 +56,11 @@ target/ # PyCharm .idea/ -*.iml
\ No newline at end of file +*.iml + +# Vagrant +.vagrant/ + +# Generated Packages +*.deb +*.rpm |