Last active
July 17, 2022 04:27
-
-
Save shaikkhajaibrahim/f408b89b64683a21af5625b21c9e4fc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.digitalocean.com/community/tutorials/how-to-install-postgresql-on-ubuntu-20-04-quickstart | |
# login as sammy user | |
git clone https://github.com/morenoh149/postgresDBSamples.git | |
cd postgresDBSamples/adventureworks | |
sudo apt install unzip -y | |
unzip data.zip -d data # this will unzip the data into the directory 'data' | |
psql -c "CREATE DATABASE \"Adventureworks\";" | |
psql -d Adventureworks < install.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment