Addin a build chapter in the Readme

This commit is contained in:
Zoe Roux 2020-12-28 16:28:30 +01:00
parent dc288baa57
commit b4ebb45916

View File

@ -11,9 +11,16 @@ Feel free to open issues or pull requests, all contribution are welcomed.
This is the main repository for Kyoo. Here, you will find all the server's code, the build process & the login page.
In the ![Kyoo.WebApp](https://github.com/AnonymusRaccoon/Kyoo.WebApp) repository, you will find the code of the web app (created usint angular).
In the [Kyoo.WebApp](https://github.com/AnonymusRaccoon/Kyoo.WebApp) repository, you will find the code of the web app (created usint angular).
In the ![Kyoo.transcoder](https://github.com/AnonymusRaccoon/Kyoo.transcoder) repository, you will find the C code that handle transcoding, transmuxing & subtitles/codecs extractions from media files.
In the [Kyoo.Transcoder](https://github.com/AnonymusRaccoon/Kyoo.Transcoder) repository, you will find the C code that handle transcoding, transmuxing & subtitles/codecs extractions from media files.
Both of theses repository are needed to fully build Kyoo, when you clone this repository you should use the --recurse argument of git like so: ```git clone https://github.com/AnonymusRaccoon/Kyoo --recurse```.
## Development & Build
To develop for Kyoo, you will need the .NET 3.1 SDK, node & npm for the webapp and cmake & gcc for the transcoder.
To run the development server, simply open the .sln file with your favorite C# IDE (like Jetbrain's Rider or Visual Studio) and press run or you can use the CLI and use the ```dotnet run -p Kyoo``` command.
To pack the application, run the ```dotnet publish -c Release -o <build_path> Kyoo``` command. This will build the server, the webapp and the transcoder and output files in the <build_path> directory.