Prerequisites¶
Before setting up the Socon-MKT environment on your local machine, ensure you have the following system requirements and software installed.
Required Software¶
To run both the React/Vite frontend and the Django backend, you will need the following tools installed on your operating system:
- Python (3.10 or higher): Required to run the Django backend, Celery workers, and manage the virtual environment.
- Node.js (v18.0 or higher): Required to run the Vite frontend development server and manage npm packages.
- Git: For version control and cloning the repository.
- SQLite3: The default database used for local development (this is typically pre-installed on Linux/macOS and bundled with Python).
Kali Linux / Ubuntu Users
If you are running a Debian-based system, you can verify your installations by running the following in your terminal:
bash
python3 --version
node -v
git --version
Optional (But Recommended) Software¶
- PostgreSQL (v14+): While SQLite is the default for local testing, installing PostgreSQL locally is recommended if you wish to perfectly mirror the production database environment.
- Redis: If you plan on actively developing and testing the Celery background tasks locally, you will need a Redis server running as the message broker.