please note that there exists a script which launches vscode for both front and back, and also launched postgres on a container, assuming you have docker desktop. look for open-code-projects.bat in the root folder
1. place a long video (approx 1 hour) in backend\server\engine\artifacts\cover_videos
, name it cover-video.mp4
exactly.
$ ~\backend> python -m venv .venv
$ ~\backend> .venv\Scripts\activate.bat
$ ~\backend> pip install -r .\requirements.txt
5. make sure you have postgres db running on port 5432, can use docker and backend\run-postgres.bat
script to launch containerized db
DEVELOPMENT_MODE=
SECRET_KEY=
DEBUG=
DOMAIN='localhost:3000'
AUTH_COOKIE_SECURE='True'
DAILYMOTION_API_KEY=
DAILYMOTION_API_SECRET=
DAILYMOTION_USERNAME=
DAILYMOTION_PASSWORD=
$> python server\manage.py makemigrations
$> python server\manage.py migrate
$> python server\manage.py runserver
$ ~/frontend> npm i
$ ~/frontend> npm run dev
Characterization: https://drive.google.com/file/d/1iOTetSaOxWOfx-bEFAp5SqA-q40O99FG/view?usp=drive_link