OQLP Data is the database repository where all the database models , implementation and documentation reside.
1- Download Open Quran Learning Data code from: https://github.com/Open-Quran-Learning/Data.git
2- In a terminal window, navigate into your Data directory.
3- Install all dependencies using the command below:
pip3 install -r requirements.txt
1- setup your desired DBMS example: postgresql-12.
2- Set the following enviroment variables, you can find the DATABASE_URIs in the SQLAlchemy documentation, for example:
export DATABASE_URI="postgresql://rolename:password@host:port/database"