This is the code for the website Videoteca Sondeo an online ressource for discussing about videos of society topics.
This website is divided into :
- a frontend made with VueJS.
- a backend as a Django server that is serving the index page containing the frontend code, and endpoints for a REST API using Django REST Framework for interacting with the database.
To run the website on your local machine, you will need to install the required dependencies in the frontend, and in the backend.
Run npm install to install the dependencies
Run npm run dev to run the local vite development server locally.
- Setup a python virtual enviromnent with the method of your choice (ex: https://docs.python.org/3/library/venv.html)
- Install the required dependencies with
pip install -r requirements.txt - Initialize the database with
python manage.py migrate - Be sure to load a dump of the production site if you want some data to start with
- Run the django server with
python manage.py runserver