Fork of BAPSicle including a nix flake for packaging https://github.com/UniversityRadioYork/BAPSicle
Find a file
2020-10-29 20:06:55 +00:00
.github/workflows don't need to install unittest 2020-10-24 16:17:35 +01:00
.vscode VScode being bad, putting comments in json. 2020-10-29 20:06:55 +00:00
build Fix windows installer and add uninstaller. 2020-10-29 01:41:01 +00:00
dev Fix readme image and aka 2020-10-29 20:01:47 +00:00
helpers Add initial OS environment helpers 2020-10-28 22:03:48 +00:00
install Fix uninstaller to 100% clear up. 2020-10-29 19:24:00 +00:00
templates Remove extra JS calls. 2020-10-25 00:19:05 +01:00
tests Add unit test. 2020-10-24 16:16:41 +01:00
ui-static
.gitignore Fix windows installer and add uninstaller. 2020-10-29 01:41:01 +00:00
__init__.py Initial Root logging 2020-10-26 21:15:28 +00:00
launch_standalone.py Switch to building an exe for Windows. 2020-10-25 01:23:24 +00:00
player.py Switch to building an exe for Windows. 2020-10-25 01:23:24 +00:00
README.md Fix readme image and aka 2020-10-29 20:01:47 +00:00
server.py Remove bodged load commands. 2020-10-29 01:41:17 +00:00
setup.py Turn bapsicle into a package. 2020-10-24 15:36:11 +01:00
state_manager.py Use relative path for state file locations. 2020-10-28 22:04:11 +00:00

Bapsicle

a.k.a. The Next-Gen BAPS server

"BAPSicle logo, a pink melting ice lolly."

Welcome! This is BAPS. More acurately, this is yet another attempt at a BAPS3 server.

Installing

Just want to install BAPSicle?

Windows

Currently there's just a batch script. Simply run install.bat as administrator. If you've just built BAPSicle youself, it'll be in /install folder.

This will:

  • Copy BAPSicle into C:\Program Files\BAPSicle
  • Install BAPSicle.exe as a Windows Service with NSSM.
  • If all goes well, open http://localhost:5000 for the server UI.

Linux

Installed service for linux is comming soon. Testing is primarily on Ubuntu 20.04. Your milage with other distros will vary.

MacOS

Support for MacOS will be the last to come, sorry about that.

Developing

Requirements

  • Python 3.7 (3.8 may also work, 3.9 is unlikely to.)
  • Git (Obviously)

Running

To just run the server standaline without installing, run python ./launch_standalone.py.

Building

Currently mostly Windows focused.

To build a BAPSicle.exe, run build\build-exe.py. The resulting file will appear in build\output. You can then use the install instructions above to install it, or just run it standalone.

Other bits

Provided is a VScode debug config to let you debug live, as well as dev\install-githook.bat that will help git to clean your code up as you're committing!