Explorar el Código

Steps to install postgreSQL and create the database

Jovian (Netbook) hace 6 años
padre
commit
d3cadca297
Se han modificado 1 ficheros con 13 adiciones y 0 borrados
  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`