MovieSign is a Django-based web application that allows users to view and manage movie screenings in various cinema rooms. The application uses Django Channels for real-time updates via WebSockets.
- View cinema details and upcoming screenings
- Real-time updates for screening statuses
- Responsive design using Tailwind CSS
- Python 3.8+
- Django 5.1
- Redis server
git clone https://github.com/yourusername/moviesign.git
cd moviesign
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt
Ensure you have Redis installed and running. You can install Redis using the following commands:
brew install redis
brew services start redis
sudo apt update
sudo apt install redis-server
sudo systemctl enable redis-server.service
sudo systemctl start redis-server.service
Create a .env
file in the root directory of your project and add the secret key:
SECRET_KEY=*your_secret_key_here*
Update the settings.py
file with your configuration. Ensure the CHANNEL_LAYERS
setting is configured to use Redis:
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
"hosts": [('127.0.0.1', 6379)],
},
},
}
python manage.py migrate
python manage.py runserver
- Access the application at
http://127.0.0.1:8000/
- Navigate to different cinema rooms to view and manage screenings
- Real-time updates will be reflected automatically
This project is licensed under the MIT License. See the LICENSE
file for more details.