Installation¶
Prerequisites¶
You will need:
Python from https://www.python.org/ (any version >= 3.6)
PostgreSQL from https://www.postgresql.org/ (any version >= 9)
Install the Python package¶
The installation is straightforward with pip, the Python package manager:
pip3 install data-admin
Alternatively, you run from the source by cloning the git repository. In this case, you need to install some Python packages yourself.
git clone https://github.com/frePPLe/frepple-data-admin.git data-admin
cd data-admin
pip3 install -r requirements.txt
Using a Python virtual environment is supported.
Create a PostgreSQL database user¶
Next, create a database user for data admin. From a psql prompt or pgadmin, you can do this with the following SQL command:
create role frepple with login superuser password 'frepple';
The role name, password and privileges can be changed to your taste. The above is just a quick default to get started with.