Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #226 #227

Merged
merged 1 commit into from
Feb 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Stationhub

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/unitystation/stationhub/dotnetcore.yml?style=flat-square)](https://github.com/unitystation/stationhub/actions/workflows/dotnetcore.yml)
[![Codacy grade](https://img.shields.io/codacy/grade/b6c9615ab3ba47f091efb0ff28e24798?style=flat-square)](https://app.codacy.com/gh/unitystation/stationhub)
[![AUR version](https://img.shields.io/aur/version/stationhub?style=flat-square)](https://aur.archlinux.org/packages/stationhub)
Expand All @@ -8,37 +9,51 @@
StationHub is the official launcher for Unitystation, it handles downloading, updating, and joining servers.

## Tech-stack
It is cross-platform using .NET 6 as the runtime and [Avalonia MVVM](https://docs.avaloniaui.net/guides/basics/mvvm) for the UI.

It is cross-platform using .NET 8 as the runtime and [Avalonia MVVM](https://docs.avaloniaui.net/guides/basics/mvvm) for the UI.

## Building
You'll need [git](https://git-scm.com) and the [.NET 6 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) installed.

You'll need [git](https://git-scm.com) and the [.NET 8 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) installed.

To install the Microsoft .NET SDK version 8 using Windows Package Manager (winget), run the following command in terminal or command prompt:

```
winget install Microsoft.DotNet.SDK.8
```

To check out the repo you can run the following in the directory you'd like to save the repo locally:

```
git clone https://github.com/unitystation/stationhub.git
```

Once checked out you should be able to run the following in the directory with the `UnitystationLauncher.sln` file:

```
dotnet build
```

Dependencies should be automatically restored by NuGet during the build process.

To test the build you just ran, you can do the following:

```
dotnet run --project ./UnitystationLauncher/UnitystationLauncher.csproj
```

## Contributing

Before opening your pull request please ensure there are no compile warnings for any new code that you've added.

.NET format is also enforced by the build pipeline, so before pushing your code you can run the following to make sure your code is formatted in the standard way:

```
dotnet format
```

Unit Tests are a work in progress currently, however once they are included you'll be able to run them with:

```
dotnet test
```
Expand Down
Loading