![]() Sudo docker-compose run -rm npm run prod -verbose Build the application 6. Sudo docker-compose run -rm npm install -verbose & Sudo docker-compose run -rm artisan migrate -force & Sudo docker-compose run -rm artisan storage:link & Sudo docker-compose run -rm artisan key:generate -force & Sudo docker-compose run -rm artisan route:cache & Sudo docker-compose run -rm composer install -optimize-autoloader -no-dev & Pulling in dependencies may take a few minutes. This command will install dependencies, set up the database, and compile the code for use. Now that everything is set up, you can build the app using the command below. Check the rest of the settings and change them as desired. Set WATCH_FOLDER to the path of the directory we just created, and set WEB_INTERFACE_URL to the address of your server. Now, navigate to the application directory and set up the configuration file. We will configure Last Watch to watch for new images in this directory. Next, set up a directory for the watch folder. This will create a directory in your home called last-watch-ai. Rather than copy/paste the commands from the Docker docs, I'll just link them here:Ĭlone latest source code for Last Watch to your home directory. ![]() ![]() Last Watch runs in docker containers so this dependency needs to be set up first. Now you are logged in as a non-root user and can continue with the rest of the install. > su - lastwatch Create user lastwatch and switch to that user On a fresh Ubuntu install, the first task is to set up a sudo user so that you aren't running as root. Some of these steps may not be required if you are working from an existing server. This guide assumes a fresh install of Ubuntu. In this example I will show how I set up Last Watch on my own Ubuntu server. Not only do you need to install Last Watch, but you also need to set up a share for Blue Iris to write images to. Linux is the preferred environment for Last Watch, but the setup a bit less convenient for most Blue Iris users. Otherwise, you can skip down to the Blue Iris setup below. You can test by dropping an image into the watch folder and checking the Detection Events feed for the new event. Open a browser and navigate to You should be greeted with an empty landing page that looks like this: Last Watch AI landing pageĪt this point, Last Watch is running and is ready to start processing image files. Once the containers are up you should see output that looks like this: Start the containersĤ. Docker will pull images for all of the containers that make up Last Watch, including Deepstack. ![]() This command will take a few minutes to run the first time. Run Docker Compose to bring up the containers This folder should contain a file called docker-compose.yamlģ. Change directory (cd) to the folder you extracted in step 3. Open a new command prompt (Win+R, then type "cmd")Ģ.Last Watch is started and stopped via the command line. Familiarize yourself with other settings that you may wish to change in the future.env configuration file 5. Set the WATCH_FOLDER to the path of the folder you created in this step. env using notepad or an editor of your choice. Now, navigate to the application folder that you just un-zipped and edit the file called. For this example I will create the folder C:\aiinput. This is where Last Watch will check for new image files, and where BI will send its motion alert snapshots. You should end up with a folder that looks like this: In my case I will extract directly to the C drive. Usually this would be somewhere on the main OS drive. Extract the zipped folder to the installation directory of your choice.Download the latest release zip (last-watch-ai-x.x.x.zip) from Github:.Download and un-zip Last Watch (required) This must be a novice setting I'm missing.3. The one thing I'm noticing, though, is that my "alerts" folder only contains JPEGs rather than actual recorded clips. My triggers seem fine with good accuracy: not a lot of false positives or negatives. I've followed The Hookup tutorial to setup BI + deepstack (I'm really pinging this forum hard, but learning a lot as I do)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |