Skip to content

Commit 0d15486

Browse files
committed
updated python version to 3.9; added role and db creation instructions
1 parent 5a11311 commit 0d15486

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A python3-based tool to generate and email statistical reports for [DSpace](http
44

55
## Requirements
66

7-
- Python 3.6+
7+
- Python 3.9+
88
- PostgreSQL 9.6+
99
- DSpace 6.x repository **
1010

@@ -66,6 +66,14 @@ Configure application.yml according to your particular environment. The admin_em
6666

6767
### Database
6868

69+
First, create a role and database in PostgreSQL.
70+
71+
```bash
72+
create role dspace_statistics with login password 'dspace_statistics';
73+
74+
createdb --username=postgres --owner=dspace_statistics --encoding=UNICODE dspace_statistics;
75+
```
76+
6977
There are several ways to generate statistical reports with this tool. They all begin with the database manager script that allows the user to create, drop and recreate the database tables to store metadata and statistics.
7078

7179
```bash

0 commit comments

Comments
 (0)