Mirror of space-wizards/SS14.Web
Find a file
PJB3005 44ccc5d908
Move privacy policy to main website.
f483129c03

Working with Markdown is nicer
2024-12-31 13:28:59 +01:00
.github/workflows How long has CI in this repo been broken what 2024-05-25 02:52:31 +02:00
OAuthTest .NET 7 + nullability fixes. 2022-11-22 23:44:20 +01:00
SS14.Auth Add past username search (#27) 2024-10-10 19:37:51 +02:00
SS14.Auth.Shared Auth-managed HWIDs (#26) 2024-09-28 17:05:47 +02:00
SS14.ServerHub Add a bit of troubleshooting steps for a failed advert attempt. (#23) 2024-06-17 16:09:06 +02:00
SS14.ServerHub.Shared Add migrations to remove "Type" field from audit log data. 2024-06-15 18:50:33 +02:00
SS14.Web Move privacy policy to main website. 2024-12-31 13:28:59 +01:00
SS14.Web.Tests Server hub updates. 2024-05-23 15:34:37 +02:00
SS14.WebEverythingShared Add built-in personal data download button. 2024-06-15 18:08:39 +02:00
Tools Update GDPR scripts for latest schema. 2023-07-25 21:56:47 +02:00
.dockerignore Server hub updates. 2024-05-23 15:34:37 +02:00
.editorconfig Editorconfig from main SS14 repo 2024-06-15 02:41:08 +02:00
.gitattributes Server hub updates. 2024-05-23 15:34:37 +02:00
.gitignore Gitignore tempkey.jwk 2021-03-16 15:18:04 +01:00
auth.Dockerfile Dockerfiles for auth/web, deployment scripts 2024-05-23 22:44:52 +02:00
build.sh Dockerfiles for auth/web, deployment scripts 2024-05-23 22:44:52 +02:00
deploy.sh Fix deploy script 2024-06-15 20:42:50 +02:00
hub.Dockerfile Server hub updates. 2024-05-23 15:34:37 +02:00
LICENSE.txt Initial commit of SS14.Auth. 2020-08-07 14:22:54 +02:00
publish.ps1 Publish runner script 2022-11-06 21:27:26 +01:00
README.md Dev environment setup guide. 2022-11-05 12:13:26 +01:00
SS14.Web.sln Account logging system rewrite. 2024-06-12 23:27:23 +02:00
SS14.Web.sln.DotSettings Add built-in personal data download button. 2024-06-15 18:08:39 +02:00
web.Dockerfile Dockerfiles for auth/web, deployment scripts 2024-05-23 22:44:52 +02:00

Space Station 14 Web Services

These are backend services hosted by Space Wizards for all of Space Station 14 and Robust. You do not need need to host these yourself in any case (except if you feel like contributing, I guess).

This repo contains various frontend and backend web services used by Space Station 14.

List of the projects in question:

  • SS14.Auth: Auth API server used by launcher and game servers/clients.
  • SS14.ServerHub: Public game server listing hub used by launcher.
  • SS14.Web: (TODO) Main website for SS14 including account management and blog.

Development

To set up a dev environment, you'll want to do the following things. Look, I know this isn't easy, but be glad I at least wrote it down for you:

  • Have a local PostgreSQL database running. (and maybe a tool like pgAdmin to manage it)
  • Create a database and username on that database.
  • Use dotnet ef migrations script to get the SQL schema for the database, run it through the database and make sure you don't screw up the permissions on the created tables.
  • Create an appsettings.Secret.yml file in both SS14.Auth and SS14.Web to hold some local preferences. Obviously substitute DB credentials or whatever:
ConnectionStrings:
  DefaultConnection: "Server=127.0.0.1;Port=5432;Database=ss14-web-test;User Id=ss14-web;Password=HelloIAmAPassword"

Mutex:
  # Change this to something local on disk.
  DbPath: 'C:\Users\Pieter-Jan Briers\Projects\ss14\web\mutex.db'
  • Create the mutex DB mentioned above manually, and run init_mutex.sql on it. (I recommend https://sqlitebrowser.org/ for this task)
  • If I didn't forget anything you should now be able to start both services and it should work™️.