We need to add DotNet 3.5 to the standard Windows installation to be able to do NAV report design in our development environment. The following video will show you how. We also need to make changes to PowerShell execution policy. The scripts and functions in AdvaniaGIT have not yet been signed. Therefore we need to allow for execution of unsigned scripts.
From Administrative PowerShell run
Set-ExecutionPolicy -ExecutionPolicy Unrestricted
This you can also see in this video.
Install SQL Server 2016 Developer Edition. AdvaniaGIT will work with SQL Express as well.
Install GIT, SourceTree and AdvaniaGIT module. Make sure to have your NAV development license at hand.
There is an alternate ending to the above video. If you have already installed NAV on your Windows machine you will need to perform the environment preparation as well. This is demoed in the update video below. Under normal circumstances doing Fetch and Pull will be enough to update the AdvaniaGIT module installation. If you have manually updated or installed NAV make sure to execute the update steps shown here.
Now you machine should be ready for NAV installation. By cloning my 2016 demo repository and using the custom actions in SourceTree you will be able to download and install NAV easily. Our method have been to always use the latest CU from Microsoft. The update and installation functions in AdvaniaGIT will read CU information from Microsoft and update/install the latest version. Installation requires both the application setup and also it needs to extract the database backup and database object export from the version. The backup and the object export are saved in your AdvaniaGIT folder. If you have enabled the connection to a FTP server these files will also be uploaded to that server.
Here is how to install NAV 2016.
And the video from NAV 2017 is almost identical. Using my 2017 demo repository.
Now your Windows machine should no be ready to start NAV development with Source Control Management.
Soon to come are more videos and demos on how to use SCM for your organization. Stay tuned…