Skip to content

Commit

Permalink
Merge pull request #11 from VISIONAI/version_output
Browse files Browse the repository at this point in the history
Add ability to show the version
  • Loading branch information
quantombone committed Feb 1, 2015
2 parents fdb7951 + 8307f16 commit edad841
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
##VMX: The vision.ai object detection/recognition server

VMX makes computer vision easy. Docker makes bundling complex
applications easy. The vmx-docker-manager lets you run the VMX
Object Detection server on a Linux computer, or a (Mac/Windows)
machine via boot2docker. [We also provide a non-docker native Mac
OS X build of VMX].

##Requirements
64 bit linux and docker >= 1.2
64 bit Linux and Docker >= 1.2
boot2docker for Mac or Windows

##Instructions

Expand Down
15 changes: 14 additions & 1 deletion vmx
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
#!/bin/sh

# VMX Docker Manager by vision.ai
# Starts the vision.ai object recognition server
# Requires docker >= 1.2; and perms to run docker
# Visit us on the web:
# https://vision.ai
# Github repository for this file:
# https://github.com/VISIONAI/vmx-docker-manager
#
##PARAMS
cmd=$1
config=$2
Expand All @@ -23,6 +30,7 @@ init () {

usage () {
echo "VMX Docker Manager by vision.ai"
echo "Version: " `git describe --tags --dirty 2>/dev/null || echo no-git`
echo "Requires docker >= 1.2; and perms to run docker"
echo "==============================================="
echo "Usage: vmx COMMAND [OPTIONS]"
Expand Down Expand Up @@ -54,6 +62,10 @@ usage () {
echo " $ ./vmx update latest"
echo " - Update vmx to dev version"
echo " $ ./vmx update dev"
echo " "
echo " - Update the vmx-docker-manager"
echo " $ git pull"

exit 1
}

Expand Down Expand Up @@ -238,6 +250,7 @@ update_vmx(){

if [ "$A$B$C" = "000" ]; then
echo "Successfully updated, you can now restart vmx"
echo "To update the vmx-docker-manager, run: git pull"
else
echo "Problem updating vmx"
fi
Expand Down

0 comments on commit edad841

Please sign in to comment.