Add installation instructions
Opened this issue ยท 4 comments
Aditya94A commented
How do I install this?
Oatelaus commented
For others coming along to this, quick and terrible instructions.
- Clone this repo
- Make sure you have the dependencies installed for your system. I had to install the following (Ubuntu 20.04)
perl -MCPAN -e 'install DBD'
sudo apt-get install libdbd-pg-perl
- Run
./pg_sample
You can add this to your path like any other application. Best of luck
lustickd commented
On Mac:
brew install perl
# Don't know if I needed this or not
perl -MCPAN -e 'install DBD'
# really slow and asks for input (y/n) halfway through
perl -MCPAN -e 'install Bundle::DBD::Pg'
mla commented
And that did work for you @lustickd ?
I use plenv rather than brew. You might try:
brew install perl
brew install cpanminus
cpanm DBD Bundle::DBD::Pg
cpanm is just usually a lot simpler to use if you have it.
lustickd commented
Oh sorry, it did work but I just meant it was slow in my comment, maybe cpanminus is faster.