From 63fbffeabca4c3c7195659393922974bd72be2fb Mon Sep 17 00:00:00 2001 From: Spotlight Date: Wed, 6 Jul 2022 11:50:51 -0500 Subject: [PATCH] Write somewhat cleaner readme --- README.md | 62 ++++++++----------------------------------------------- 1 file changed, 9 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index 3bb7f01..784e924 100644 --- a/README.md +++ b/README.md @@ -4,58 +4,14 @@ Ideally, one day this will become feature complete enough to handle other titles It aims to implement everything necessary to provide title tickets, manage authentication, and everything between. -> Note that this software is still in development. The schema ma +## Setup +WiiSOAP operates on the assumption that you run a PostgreSQL database holding existing tickets. -## What's the difference between this repo and [that other SOAP repo](https://github.com/OpenShopChannel/Open-Shop-SOAP)? -This is the SOAP Server Software. The other repository, [Open-Shop-SOAP](https://github.com/OpenShopChannel/Open-Shop-SOAP), holds templates of communication between a Wii and WSC's server. +1. Ensure that your PostgreSQL database contains the schema within `database.sql`. +2. Copy `config.example.xml` to `config.xml` and edit accordingly. + - Similar to [WSC-Patcher](https://github.com/OpenShopChannel/WSC-Patcher), you may use a base URL of `a.taur.cloud` for localhost development, i.e. via Dolphin. +3. `go build` to create an executable. +4. Run the resulting executable, such as `./WiiSOAP`. -# Changelog -Versions on this software are based on goals. (e.g 0.2 works towards SQL support. 0.3 works towards NUS support, etc.) - -## 0.3.x Tanuki -### 0.3.0 -- Migrate to using PostgreSQL -- Add routes and XML niceties -- Implement most routes - -## 0.2.x Kawauso -### 0.2.6 -*This version of WiiSOAP Server was brought to you by Apfel. Thank you for your contribution.* -- Fixed error handling. -- Moved configuration example. -- Added `go.mod` for an easier installation. -- Changed `SQLPort` to `SQLAddress` in the `config.xml` file. -### 0.2.5 -*This version of WiiSOAP Server was brought to you by Apfel. Thank you for your contribution.* -- Fixed lint errors. -- Uses Fprintf properly now. -- Uses `if err = action(); os.IsExist(err) {}` now. This makes error checks a little bit shorter. -- Changed `Port` to `Address` in the `config.xml` file. -### 0.2.4 -- Added SQL skeleton. -- Edited config template. -### 0.2.3 -- Added TODO Items. -- Improved Error Handling. -- Bug fixes. -> Fixed an issue where converting string to byte in the switch cases would cause the program to not compile. Since converting to byte in switch is not possible. The program should now compile without any errors. -- Organized the script to make it easier to read. -- No changes to SQL have been made in this update. -### 0.2.2 -- Switched from if else to switch case. This makes the script cleaner, and makes the program faster. -- No changes to SQL have been made in this update. -### 0.2.1 -- Added working Config. -- SQL now works. (In terms of opening a connection.) -- You can now choose what port to run WiiSOAP on. -### 0.2.0 -- Added SQL Driver. -- SOAP-GO-OSC is now just called WiiSOAP. - -## 0.1 (No Codename) -### 0.1.2 -- Optimised the software. (Structures are now in their own file.) -### 0.1.1 -- Added IAS Support. -### 0.1.0 -- Added ECS Support. +## Contributing +Ensure you have run `gofmt` on your changes. \ No newline at end of file