Skip to content

Latest commit

 

History

History
97 lines (41 loc) · 1.73 KB

README.md

File metadata and controls

97 lines (41 loc) · 1.73 KB

Bananza Video Sharing

This project's goal is a video sharing app, that can handle various tasks

referring the platform's users, their channels and videos.


Local deployment of backend

Requirements:

For Linux users:

curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -

For Windows users:

(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
  • Cloned repo

Steps

Being in the main repository directory:

  1. cd bananza-backend/

  2. poetry install

  3. cd src

  4. poetry run uvicorn bananza_backend.fastapi:app --host localhost --port 8000 --reload


Local deployment of frontend

Requirements:

Steps

Being in the main repository directory:

  1. cd bananza-frontend/

  2. npm install

  3. To use the developer server, run: npm run dev To use the production server, run: npm run build then npm run start The developer server takes less time to start up, but the production server is faster when it comes to running the application.