A Node.js® server and frontend framework for making single-page,multi-state web apps. The framework is detailed in STRUCTURE.md
This server contains code for all installations, in the 'static' folder: Anything Muppets, Performance, and Sharing (deprecated). It also contains examples for how to create new applications ('blank' and 'demo') and a suite of test scripts ('test' folder).
developed/tested/used with
- Node.js
- 6.10.0 (LTS)
- 5.9.1
- 4.3.1
- npm
- 3.10.10
- 3.7.3
- -nix OS
- Ubuntu 14.04
- OSX 10.11
- OSX 10.12.3
- In terminal,
cd
to this directory. - Run the oh-so-simple setup command:
npm install
- All configurations in the Anything Muppets app can be set in the Admin interface
- Access the Admin interface by swiping from right-to-left across the top of the screen, or by pressing 'a' on a keyboard
- All configurations in the Performance app can be set in the Admin interface
- Access the Admin interface by swiping from right-to-left across the top of the screen, or by pressing 'a' on a keyboard
The station this instance is hosting is passed in via a --station parameter.
npm start -- --station [STATION]
where [STATION] is one ofanythingmuppets
orperformance
- yes, there is an extra
--
when running via npm - without npm:
node server.js --station [STATION]
- yes, there is an extra
- open frontend
- if using the Frontend App, just run that app and it will load the webpage.
- otherwise, start up the Camera App and open your browser to http://localhost:8080/?stream=true