Git Product home page Git Product logo

slideshow's Introduction

(Another) Slideshow

Why? This slideshow is intended to run as an easy-to-update bulletin board system on a network. Basically, mount the /slideshows/ folder as a network share, create at least one folder inside slideshows, and open http://ipaddress/basename/nameOfFolderInSlideshows.

Getting Started

I run this project on a Turnkey LAMP Stack inside a folder called bulletin (/var/www/html/bulletin). In this case, bulletin is the basename.

  • Open .htaccess and make sure the path to index.html is correct. RewriteRule ^ /bulletin/index.html [L]
  • Run npm run build and upload the build folder to your server.
  • Make a folder called slideshows.
  • Make at least one folder in the slideshows folder (default is bb1, but for example, let's use lunchmenu)
  • Add some jpg files inside lunchmenu.
  • Open http://ipaddress/bulletin/lunchmenu.

You can delete or add files to lunchmenu and the slideshow will update somewhat smoothly. (Work in progress)

Notes

  • Easiest to run inside a folder called bulletin. Change at your own risk.
  • Only works with jpg files.
  • Requires php.

Set a different basename

To set a new basename (ie, not /bulletin/), change bulletin in the follow places, keeping slashes the same.

  • in package.json:
    • "homepage": "/bulletin/",
  • in api-config.js:
    • let slideshowRoot = 'bulletin';
  • in .htaccess
    • "RewriteRule ^ /bulletin/index.html [L]"

slideshow's People

Contributors

randomlysa avatar

Watchers

James Cloos avatar  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.