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
- Windows 11 operating system
- Python 3.8 or higher
- Git
- PostgreSQL 10 or higher
- Redis
Installation Steps
- Open the Windows Command Prompt by pressing the Windows key + R and then typing
cmd
.
- Navigate to the directory where InvenioRDM will be installed. For example,
cd C:\InvenioRDM
.
- Clone the InvenioRDM repository by running the following command in the Command Prompt:
git clone https://github.com/inveniosoftware/cookiecutter-invenio-rdm.git
- Move into the newly created directory by running the command:
cd cookiecutter-invenio-rdm
- Create a new virtual environment for InvenioRDM by running the following command:
python -m venv venv
- Activate the virtual environment with the command:
venv\Scripts\activate
- Install the required Python packages by running the following command:
pip install -r requirements.txt
- Install the PostgreSQL database by downloading and running the installer from https://www.postgresql.org/download/.
- Create a new PostgreSQL database for InvenioRDM by running the following command:
createdb InvenioRDM
- Install the Redis server by downloading and running the installer from https://redis.io/download.
- Start the Redis server by running the following command in a new Command Prompt window:
redis-server
- Copy the
.env-sample
file and rename it to .env
by running the following command:
copy .env-sample .env
- 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
.
- Create the database tables by running the following command:
flask db init
flask db migrate
flask db upgrade
- Start the InvenioRDM server by running the following command:
flask run
- 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!