Project for "Creating Internet Apps" subject on my uni
- Make sure you have Python installed, at last 3.6 is recommended.
- Also, make sure you have
ffmpeg
installed. On Windows, add directory withffmpeg.exe
to%PATH%
. - (Optional, but very recommended) I suggest creating virtualenv for the project. To do so, install package
virtualenv
usingpip
(python -m pip install virtualenv
) and executepython -m virtualenv venv
. Then, activate it by executingsource venv/bin/activate
under Linuxvenv\scripts\activate.bat
under Windows
- Install requirements from the project. From main repo directory, run
python -m pip install -r requirements.txt
- Enter
spectrogen
directory. Create the database by runningpython manage.py migrate
. - (Optional, but very recommended) Create superuser account, with name
admin
(because it's hard-coded in backend code, for now. Runpython manage.py createsuperuser
- Run
python manage.py runserver
to start the application. It'll be available underlocalhost:8000
In case when adding spectrograms will always fail, due to video parsing error, update youtube_dl
package.