How to Install wger on Windows 11

wger is a free and open-source web-based fitness tracking application that allows users to track their exercises, workouts, and nutrition. In this tutorial, we will walk you through the steps to install wger on your Windows 11 computer.

Prerequisites

Before we get started, you will need:

Step 1: Clone the wger Repository

The first step is to clone the wger repository. Open the command prompt on your computer and run the following command:

git clone https://github.com/wger-project/wger.git

This will create a copy of the wger repository on your computer.

Step 2: Create a Virtual Environment

Next, we will create a virtual environment to install wger and its dependencies. To create a virtual environment, open the command prompt and navigate to the wger directory. Then, run the following command:

python -m venv env

This command will create a virtual environment named env in the wger directory.

Step 3: Activate the Virtual Environment

To activate the virtual environment, run the following command in the command prompt:

.\env\Scripts\activate

This command will activate the virtual environment.

Step 4: Install wger Dependencies

Now that the virtual environment is activated, we can install the dependencies required by wger. Run the following command in the command prompt:

pip install -r requirements.txt

This command will install all the required dependencies.

Step 5: Create the Database

wger requires a database to store its data. To create the database, run the following command in the command prompt:

python manage.py migrate

This command will create the necessary tables in the database.

Step 6: Create a Superuser

A superuser has administrative privileges and can perform any action in wger. To create a superuser, run the following command in the command prompt:

python manage.py createsuperuser

Follow the prompts to create a superuser.

Step 7: Run the Development Server

To run the development server, run the following command in the command prompt:

python manage.py runserver

This command will start the development server on the default port of 8000. You can access the wger application by opening your web browser and navigating to http://localhost:8000/.

Conclusion

That’s it! You now have wger installed on your Windows 11 computer. You can start using the application to track your fitness progress.

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!