The following are the basic steps to follow when creating a Scrap Dragon portal.
Step 1 - Certificate creation
Open up the IIS Manager and select Server Certificate.
Open the Certificate screen and select Create Self Signed Certificate from the right menu.
Fill in the Certficate screen. Name the Certificate whatever you want - but remember the name as you will have to selet it later.
Select OK and you are done with Certificates.
Step 2 - Create a Website
Now - create yourself a Website in the IIS Manager.
Input the Name (use Scrapdragon.WebApi), the physical path, binding type of
https, port of 50002, and the SSL Certificate created in step 2.
Select OK and you are done with ceating a Website.
Step 3 - Application Pool
Still in the IIS Manager - g to the Application Pool and select ScrapDragon.WebApi.
Do a right click on ScrapDragon.WebApi and select Advanced settings.
Change the Enable 32 Bit appliocations to True.
Select OK and you are done with the Application Pool changes.
Step 4 - Test the ScrapDragon.WebApi connection
Select the ScrapDragon.WebApi. Browse the Website (available on the right side
of the screen).
You will get a message that the website is not secure - proceed to localhost
(unsafe). Continue on and you will get a verification that the Api is up -
shown here.
The xml shown verified that th Website is functioning.
Step 5 - File Explorer
Open up File Explorer and select Quick access.
Edit the Web file - changing JpeggerYardIsUsed
value from False to True.
Save the file.
Now edit the ScrapDragonWindowServices.exe config file. Note the path to locate the file.
Add a new key into the file as shown.
Save the file.
Step 5 - SQL Updates
Some changes need to be made to a number of SQL tables. Open up SQL Management Studio.
Select a New Query option.
This is the new select statement that needs to be executed.
Following the select statement. Copy the Id for the desired Yard into your buffer. Now run a series of
Update statements. The first is shown here for the cameras Table.
Repeat the same Update statement for each of the following Tables:
- camgroups
- images_data
- rt_Lookup
- Shipments_data
- invtags_data
Step 6 - Restart JPEGger
Now it is necessary to restart the JPEGger service after a few changes.
Make the changes to the General tab as shown.
This includes listen port, the use SSL checkbox, Non-SSL port and don't forget
to turn on the built-in webserver.
After the changes to the General Tab - be sure and check one of the defined cameras. The camera should now have the Yard ID that was updated in the previous SQL step.
Now restart the JPEGger service by saving the changes.
Then restart the JPEGger service by saving the changes.
Step 6 - Restart Scrap Dragon
Now - kick everyone out of Scrap Dragon. Get back into the IIS Manager and select all open files and then delete.
Finally - in the Services screen - select Scrap DragonX - Stop and Start.
This is the end of setting up your Scrap Dragon Portal.