Browse Source

Steps to install postgreSQL and create the database

Jovian (Netbook) 6 năm trước cách đây
mục cha
commit
d3cadca297
1 tập tin đã thay đổi với 13 bổ sung0 xóa
  1. 13 0
      README.md

+ 13 - 0
README.md

@@ -1,2 +1,15 @@
 # PythonPostgresLab
 A CLI (Command Line Interface) written in python to query a PostgreSQL database. Lab realized as a student at Ecole Centrale de Nantes (ECN).
+
+## Postgres
+
+Install postgreSQL :
+`sudo apt install postgresql`
+
+Create the database :
+*#*`psql`
+*postgres=#*`create database logistics;`
+
+
+Populate database with tables :
+*#*`psql -d logistics -f SQL/create_tables.sql postgres`