-
Notifications
You must be signed in to change notification settings - Fork 2
1. Setup
Navigation
To install the respository to a local computer, download the zip file from the online repo and extract the data locally.
Alternatively, clone the repository using the following code in Git Bash:
git clone https://github.com/Aeroking21/Nexus.git
The repository contains three main folders inside the top level folder GraphSample contains the frontend code, inluding C#, Razor, HTML and CSS files. SharedModels contains C# files that are used by both the frontend and backend. WebBackend contains the database and backend API.
In order to run the application locally, the latest version of .NET needs to be installed. The installation can be found at the dotnet download page.
Firstly, navigate to the WebBackend folder in the terminal or command prompt. Then run the command:
dotnet run --launch-profile https
Then, using a new terminal/command prompt, navigate to the GraphSample folder and run the following command:
dotnet run
This will launch the front-end of the application on port 7067. Several scripts were also developed for both Windows, MacOS and Linux to run these commands more conveniently. To run the scirpt on the windows machine, run the script.cmd file. To run the script on MacOS and Linux, run RunAll.sh.
To access the application, open a browser and go to https://localhost:7067/. The application will then prompt for a Microsoft account to sign in. As the Nexus application requires significant permissions to run, if the account that is used to sign in is not an admin account that can accept the permission request, the app may refuse access. In order to circumvent this, a free Microsoft Developer account can be created that lasts for 90 days and allows for unrestricted admin access on a temporary domain.
The website was also deployed on Azure at https://nexusic.azurewebsites.net/, however, as explained further on in section 6.5, this is only accessible for a specific domain.