How to Install InvenioRDM on Windows 11

InvenioRDM is an open-source research data management platform that helps researchers store, manage, and publish their data. This tutorial will guide you through the process of installing InvenioRDM on a Windows 11 operating system.

Prerequisites

Installation Steps

  1. Open the Windows Command Prompt by pressing the Windows key + R and then typing cmd.
  2. Navigate to the directory where InvenioRDM will be installed. For example, cd C:\InvenioRDM.
  3. Clone the InvenioRDM repository by running the following command in the Command Prompt:
git clone https://github.com/inveniosoftware/cookiecutter-invenio-rdm.git
  1. Move into the newly created directory by running the command:
cd cookiecutter-invenio-rdm
  1. Create a new virtual environment for InvenioRDM by running the following command:
python -m venv venv
  1. Activate the virtual environment with the command:
venv\Scripts\activate
  1. Install the required Python packages by running the following command:
pip install -r requirements.txt
  1. Install the PostgreSQL database by downloading and running the installer from https://www.postgresql.org/download/.
  2. Create a new PostgreSQL database for InvenioRDM by running the following command:
createdb InvenioRDM
  1. Install the Redis server by downloading and running the installer from https://redis.io/download.
  2. Start the Redis server by running the following command in a new Command Prompt window:
redis-server
  1. Copy the .env-sample file and rename it to .env by running the following command:
copy .env-sample .env
  1. Edit the contents of the .env file in a text editor to match your system configurations. For example, set the SQLALCHEMY_DATABASE_URI variable to postgresql://username:password@localhost/InvenioRDM.
  2. Create the database tables by running the following command:
flask db init
flask db migrate
flask db upgrade
  1. Start the InvenioRDM server by running the following command:
flask run
  1. Open a web browser and go to http://localhost:5000 to see the InvenioRDM application.

Congratulations, you have successfully installed InvenioRDM on your Windows 11 operating system!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!