Giter Site home page Giter Site logo

me-watch-backend's Introduction

me_watch

Service for watching video from different sources.

How to setup

First of all, you need docker and docker-compose cli tools to build docker image and run containers.

Create django_config.env file in root directory. (Environment variables are described in django_config.env part)

The setup steps are pretty easy:

  1. Make sure docker.service is up and running
  2. Run docker-compose build
  3. Run docker-compose up -d

Development server must be accessible via localhost:8000

django_config.env

File from which environment variables for docker container are pulled.

# Secret key used by django to generate passwords
SECRET_KEY=
# Client ID of VK application
VK_CLIENT_ID=
# Client secret of VK application
VK_CLIENT_SECRET=
# Auth url used for VK OAuth2
VK_AUTH_URL=
# Token url used for VK OAuth2
VK_TOKEN_URL=

me-watch-backend's People

Contributors

vsmaxim avatar

Watchers

 avatar

me-watch-backend's Issues

Create task for update links for pictures

Related to #2.

We should implement task for updating all the pictures presented in database in async manner. Should be using all backends for fetching links.

Implementation notes:

  • Should be done with Celery.

Make unified interface for parsing backends

Now, there is only Yandex.Video backend, but in future it'll be great to implement other backends parser for links.

All these parsers should have unified interface to make processing easier.

Now, there's code implemented in pictures.Utils that might be usefull for this task.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.