Sfoglia il codice sorgente

Steps to install postgreSQL and create the database

Jovian (Netbook) 6 anni fa
parent
commit
d3cadca297
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  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`