knotteye ee3527f292 Implement database versioning and migration. It could not possibly be any simpler or easier to break, but it works. And it can be used to automatically migrate to a better system for migration later.
For now, the way it works is by creating a new migration script with the name of the version (increment by one, whole numbers) in the src/db folder
On start up, it will compare version numbers and run new scripts. The user can also manually check for migrations and skip the automatic checking.
Added a bit of additional logging to see what's happening in the startup process as well.
2020-10-10 15:55:32 -05:00
2019-12-21 08:59:35 -06:00
2020-08-31 01:26:43 +00:00
2020-06-27 23:27:47 -05:00
2020-06-27 23:39:57 -05:00
2019-12-21 08:59:35 -06:00
2019-11-05 17:22:52 -06:00
2020-07-20 04:25:01 -05:00

Satyr: A livestreaming server

System dependencies: A stable version of node>=10, mysql3 (or a compatible implementation such as MariaDB), and ffmpeg >=4.2

Setup Instructions

git clone https://gitlab.com/knotteye/satyr.git
cd satyr
npm install
npm run setup

Follow the instructions after setup runs.

Run the server

npm run start

You can also run this to skip checking the database version on startup.

npm run start -- --skip-migrate
# don't forget to migrate manually when you update
npm run migrate

Contributing

  1. Fork the repository
  2. Create new feature branch
  3. Write Code
  4. Create an request to merge back into develop
Description
No description provided
Readme AGPL-3.0 2.2 MiB
Languages
TypeScript 70.2%
HTML 19%
JavaScript 7.8%
Shell 1.9%
CSS 1.1%