Final project of multimedia system of Amirkabir University of Teconlogy
- Clone the repository.
- Create a Virtual Environment
- Linux:
>> python3 -m pip install --upgrade pip >> python3 -m venv venv >> source venv/bin/activate
- Windows:
>> py -m pip install --upgrade pip >> py -m venv venv >> venv/Scripts/activate
- Install the required packages and dependencies:
>> pip install -r requirements.txt
- Apply migrations and create the database:
python3 manage.py migrate
- Run the server:
python3 manage.py runserver
- To run the project in Docker:
docker-compose up -d --build
- Move each video generated from the script into nginx:
docker exec {container_id} mkdir -p /tmp/dash/
docker cp /home/keivanipchihagh/GitHub/MMS_IMDB/DASH/{movie_id} mms_imdb_nginx_1:/tmp/dash/{movie_id}
- To access the files in the nginx server:
docker exec -it mms_imdb_nginx_1 /bin/sh