Python 3.10+ – Download Python
Node.js & npm (for Tailwind CSS) – Download Node.js
PostgreSQL (or SQLite for development) – Download PostgreSQL
Git – Download Git
First, open a terminal and run:
git clone https://github.com/Alpha-team-project/Alpha-player-django.gitCreating a virtual environment helps manage dependencies.
python -m venv venvNext, install the required Python packages:
pip install -r requirements.txtCreate a .env file in the root directory and add:
cp .env.example .envFor SQLite (development), you don’t need database settings.
Run the following command to create database tables:
python manage.py migrateTo access the Django Admin panel, create a superuser:
python manage.py createsuperuserEnter a username, email, and password when prompted.
Tailwind CSS is used for frontend styling.
python manage.py tailwind buildThis compiles the CSS whenever you make changes.
Now, start the Django server:
python manage.py runserverOpen http://127.0.0.1:8000/ in your browser.
Now, Alpha Player should be running on your local machine! 🚀
docker-compose up -d --build




