You can run Misago for testing or development on any platform where Pyhon and Postgress are available.
So if you use a Virtual machine the easy way is choose a Linux OS with python 3.12 available.
If not you have to install/build it on your own.
On a debian based Version you can run
apt install postgresql python3 python3-pip virtualenv bzip2 tar npm git
On others just use the os specific command
You can add a database user and a database with:
su postgres
psql
create user devel with encrypted password 'xxx';
create database misago owner=devel;
exit
exit
Add a user if you need a new one with:
adduser dummy
change to the user and make installtion directory:
su dummy
cd /home/dummy/
mkdir devel39
If you have native python3.12:
virtualenv devel39
if you installed python via src build:
virtualenv --python=/usr/local/bin/python3.12 devel39
Now activate the virtual venv with:
cd devel39/
. bin/activate
get Misago 0.39.6 Version
git clone github.com/rafalp/Misago.git --branch 0.39.6 --single-branch
Install Misago requierents:
cd Misago
pip3.12 install -r requirements.txt
If you got an error try:
pip3.12 install celery -U
pip3.12 install -r requirements.txt
change the database name,user,password etc in devproject/settings.py
Now you are ready to go try:
python3.12 manage.py
If it works you can build the core database and an admin user with:
python3.12 manage.py migrate
python3.12 manage.py createsuperuser
Now start Misago with:
python3.12 manage.py runserver