浏览代码

Steps to install postgreSQL and create the database

Jovian (Netbook) 6 年之前
父节点
当前提交
d3cadca297
共有 1 个文件被更改,包括 13 次插入0 次删除
  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`