Added steps to install ZM binaries, insert a monitor and start ZM

This commit is contained in:
Kyle Johnson 2013-09-27 09:47:58 -04:00
parent dddec742e0
commit 3119ab7672
2 changed files with 6 additions and 1 deletions

View File

@ -34,4 +34,7 @@ before_script:
script:
- CXXFLAGS="$CXXFLAGS" ./configure --with-libarch=lib/$DEB_HOST_GNU_TYPE --disable-debug --host=$DEB_HOST_GNU_TYPE --build=$DEB_BUILD_GNU_TYPE --with-mysql=/usr --with-webdir=/var/www/zm --with-ffmpeg=/usr --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --enable-crashtrace=no --enable-mmap=yes ZM_SSL_LIB=openssl ZM_DB_USER=travis ZM_DB_PASS=
- make
after_success: mysql -u travis < db/zm_create.sql
- sudo make install
- mysql -u travis < db/zm_create.sql
- mysql -u travis zm < db/test.monitor.sql
- sudo zmpkg.pl start

2
db/test.monitor.sql Normal file
View File

@ -0,0 +1,2 @@
INSERT INTO `Monitors` VALUES ('', 'speed_racer','Remote','Modect',1,'','','/dev/video0',0,255,'http','simple','50.79.143.149','21146','','/mjpg/video.mjpg',1280,800,3,0,'0',0,-1,-1,-1,-1,'Event-','%N - %d/%m/%y %H:%M:%S',0,0,50,25,25,25,1000,1,600,0,0.00,0.00,1000,12,0,0,'','',0.00,0,0,-1,0,'Events',100,100,'#0000c0','red',4,'',1);