Coder Social home page Coder Social logo

benjaminvanrenterghem / screenly-ose Goto Github PK

View Code? Open in Web Editor NEW

This project forked from screenly/anthias

0.0 0.0 0.0 19.97 MB

Screenly OSE | Digital Signage for the Raspberry Pi

Home Page: https://www.screenly.io/ose

License: Other

Dockerfile 2.22% Shell 5.98% Python 25.94% CoffeeScript 4.98% CSS 31.42% JavaScript 15.01% HTML 12.06% SCSS 1.68% QMake 0.07% C++ 0.64%

screenly-ose's Introduction

Anthias - Digital Signage for the Raspberry Pi

Anthias Logo

Screenly OSE is now known as Anthias

To clear up confusion between Screenly and Anthias, we have decided to rename Screenly OSE to Anthias. More details can be found in this blog post. The renaming process is now under way, and over the coming months, Anthias will receive a face lift and the love it deserves.

Want to help Anthias thrive? Support us using GitHub Sponsor.

Star History

Star History Chart

Disk images

The quickest way to get started is to use Raspberry Pi Imager, where you can find Anthias under Other specific-purpose OS. Alternatively, you can find our pre-built disk images (powered by Balena Hub) here.

Do however note that that we are still in the process of knocking out some bugs. You can track the known issues here.

Installing on Raspbian/Raspberry Pi OS

The tl;dr for on Raspberry Pi OS Bullseye Lite is:

$ bash <(curl -sL https://install-anthias.srly.io)

This installation will take 15 minutes to several hours, depending on variables such as:

  • The Raspberry Pi hardware version
  • The SD card
  • The internet connection

During ideal conditions (Raspberry Pi 3 Model B+, class 10 SD card and fast internet connection), the installation normally takes 15-30 minutes. On a Raspberry Pi Zero or Raspberry Pi Model B with a class 4 SD card, the installation will take hours. As such, it is usually a lot faster to use the provided disk images.

Installing with Balena

While you can deploy to your own Balena fleet, the easiest way to deploy using Balena OpenFleets.

Quick links

Anthias works on all Raspberry Pi versions, including Raspberry Pi Zero, Raspberry Pi 3 Model B, and Raspberry Pi 4 Model B.

Dockerized Development Environment

To simplify development of the server module of Anthias, we've created a Docker container. This is intended to run on your local machine with the Anthias repository mounted as a volume.

Do note that Anthias is using Docker's buildx for the image builds. This is used both for cross compilation as well as for local caching. You might need to run docker buildx create --use first.

Assuming you're in the source code repository, simply run:

 ./bin/build_containers.sh
$ docker compose \
    -f docker-compose.dev.yml up

Building Containers Locally

Make sure that you have buildx installed and that you have run docker buildx create --use before you do the following:

./bin/build_containers.sh

Skipping Specific Services

Say that you would like to skip building the anthias-viewer and anthias-nginx services. Just run the following:

SKIP_VIEWER=1 SKIP_NGINX=1 ./bin/build_containers.sh

Generating Only Dockerfiles

If you'd like to just generate the Dockerfiles from the templates provided inside the docker/ directory, run the following:

DOCKERFILES_ONLY=1 ./bin_build_containers.sh

Running the Unit Tests

Start the containers.

$ ./bin/build_containers.sh
$ docker compose \
    -f docker-compose.test.yml up -d

Run the unit tests.

$ ./bin/build_containers.sh
$ docker compose \
    -f docker-compose.test.yml \
    exec -T anthias-test bash ./bin/prepare_test_environment.sh -s
$ docker-compose \
    -f docker-compose.test.yml \
    exec -T anthias-test nosetests -v -a '!fixme'

screenly-ose's People

Contributors

vpetersson avatar rusko124 avatar nicomiguelino avatar ealmonte32 avatar mcbuddha avatar pain64 avatar antonmolodykh avatar zacharytamas avatar aljungberg avatar brainrake avatar eugenosm avatar a-martynovich avatar axel-b avatar richard-to avatar dependabot[bot] avatar mscreations avatar shawaj avatar loriancoltof avatar umeboshi2 avatar heberalmeida avatar sebastianschildt avatar nikize avatar tonylhansen avatar pastcompute avatar nkaminski avatar p-rintz avatar semaf avatar mpous avatar ghholm avatar fshmcallister avatar

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.