/wiki/spaces/SC/pages/51643422
This page will show you how to get set up with eWater Source's code. We use git for version control of source code and project files. It is hosted by BitBucket for Source members to share plugins, source project files, and get access to the source code.
...
- Create a BitBucket account (https://bitbucket.org/)
- Fill out the TIME Source Code Licence Agreement and email it to Geoff Davis
- After we receive your completed Licence Agreement we will send you a BitBucket invitation – click on the link in the invitation and log in after creating an account
- Install SourceTree (See: Sg (Source Get)
- Install Visual Studio 2022
- .net framework 4.8 SDK https://wwwdotnet.sourcetreeappmicrosoft.com/)
- Restart your computer
- See: Sg (Source Get) /en-us/download/dotnet-framework/net48
- .net 5.0.401 sdk https://dotnet.microsoft.com/en-us/download/dotnet/5.0
- Main Solution file to be opened with Visual Studio is RiverSystem\Solutions\Source.sln
Note: Please don’t include special characters into your username or password (particularly ‘:’, ‘/’, ‘\’, ‘.’ or ‘@’).
...
You can Fetch then Checkout all of the repositories using sg.exe:
Using Powershell or Command Prompt: you will need to include a .\ infront of sg.exe
Using Git Bash:
you will need a ./ infront of sg.exe
Note: if you add sg.exe to your path - you can call sg without a ./ or .\ infront. But this will require administrator privileges to do so.
This also means the process for making changes requires a two-step process to make changes to the central repository. The general process will be:
...
Changes for the core repositories are made by doing a Pull Request. Details of how to do a Pull Request can be found here: Fork a Repo, Compare Code and Create a Pull Request
Compiling
To compile you will need Visual Studio 2017 with the .net 4.7.2 SDK.
Main Solution file to be opened with Visual Studio is RiverSystem\Solutions\Source.sln