Giter VIP home page Giter VIP logo

blekkio's Introduction

Blekkio

Join the chat at https://gitter.im/scriptotek/blekkio

Simple video database that harvests and connects data from YouTube, Vortex and other sources.

Updates https://ub.uio.no/live

Task scheduler

To activate the task scheduler, add this to /etc/crontab:

  *  *  *  *  * apache     php /path/to/blekkio/artisan schedule:run 1>> /dev/null 2>&1

Task queue

To activate the queue worker, set QUEUE_DRIVER=database in .env and add a supervisor configuration file /etc/supervisord.d/blekkio.ini:

[program:blekkio]
process_name=%(program_name)s_%(process_num)02d
command=php /path/to/blekkio/artisan queue:work database --sleep=3 --tries=3
autostart=true
autorestart=true
user=apache
numprocs=1
redirect_stderr=true
stdout_logfile=/path/to/blekkio/storage/logs/worker.log

Then

sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start blekkio:*

Local development

Requirements: PHP + Composer, Node + NPM.

Setup:

git clone https://github.com/scriptotek/blekkio.git
cd blekkio
composer install
npm install
npm run dev
cp .env.example .env

Note: php-saml still depends on mcrypt as of 2017-05-09. To avoid having to install it, run

composer install --ignore-platform-reqs

This is ok since we don't use encrypted SAML messages. See php-saml#84.

Add credentials (SQL, WebDAV, Google APIs) to .env. Local maintainers, see \\kant\ub-felles\scriptotek\blekkio\README.txt.

Add to /etc/hosts:

127.0.0.1  blekkio.dev

Start dev server:

php artisan serve --host=blekkio.dev --port=8000

blekkio's People

Contributors

danmichaelo avatar gitter-badger avatar

Watchers

 avatar  avatar  avatar

Forkers

gitter-badger

blekkio's Issues

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.