Server code to manage piSignage players in a LAN or Private Network or to setup your own server!
Run the npm install
command after git pull
and before starting the server
Install git if needed & issue git clone https://github.com/colloqi/pisignage-server
OR
just get the file https://raw.githubusercontent.com/colloqi/pisignage-server/master/docker-compose.yml
docker compose up -d
pi:pi
docker-compose.prod.yml
git pull origin master
IMPORTANT: If you are updating from before 24 Nov 2016, after git pull, please change the uri variable in config/env/development.js to 'mongodb://localhost/pisignage-dev' to retain the old dataNote: Instructions may change, please refer to the respective package/OS websites for the latest,
Write to us at support@pisignage.com for help.
Install mongodb - open-source document database
Refer mongodb install guides to install mongodb.
Install node.js and npm - open source server framework
Install ffmpeg - video converter
Install imagemagick - tool for image edit, conversion
Install Git - distributed version control system
Clone this repository and run the following commands
Currently network port is configured as 3000 in local server. Modify in the file config/env/development.js
for the port
Run node server with node server.js
Open Chrome browser and check at http://localhost:3000 OR http://[your-ip]:3000
(ex: 192.168.1.30:3000, 10.50.16.110:3000)
Do the following configuration before you start
NOTE: Please make sure mongod process is running and /data/db owenership is changed to regular user. If not use, sudo chown -R your-username:user-group /data
In player settings, PORT number should be part of server name for e.g. 192.168.1.12:3000
Download the pisignage player software and prepare SD card as per instructions
After player boots, configure admin and media server to your local address and port using one of the below methods
a. Using the webUI of the player at http://[player IP]:8000/settings
b. Connect Keyboard and press Ctrl-N or F6
http://[your server ip]:port
(ex: 192.168.1.30:3000, 10.50.16.110:3000)ctrl+Alt+ t
and delete any existing _config.json and _settings.json file from /home/pi/piSignagePro/config
directoryc. Connect through ssh
/home/pi/piSignagePro/package.json
for admin and media server configuration/home/pi/piSignagePro/config
directoryPlayer management
Group management - create groups and assign players to groups
Assets Management
Playlist management
angularjs-dropdown-multiselect is taken directly from https://github.com/dotansimha/angularjs-dropdown-multiselect/pull/23/files instead of bower (for close-on-select to work)
Requires following programs to work
Two directories are created by the program ../media and ../media/_thumbnails. If these directories are not created server won't work as expected (for e.g. thumbnails won't be created if _thumbnails directory does not exit). In that case create those directories manually.
You can also manage players using Browser(http://playerip:8000) or downloading Chrome app
Make sure installation under settings page is same as your username (not email) at pisignage.com
Please raise an issue for problems or send us email at support@pisignage.com