]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add contributing guide for embed
authorChocobozzz <me@florianbigard.com>
Thu, 16 Feb 2023 15:45:49 +0000 (16:45 +0100)
committerChocobozzz <me@florianbigard.com>
Thu, 16 Feb 2023 15:47:13 +0000 (16:47 +0100)
.github/CONTRIBUTING.md

index 2f17747562086052d0959715cf61cf05cb1d6866..fcb803e2596a1a2cbc37af34748c4ec5902a2789 100644 (file)
@@ -17,6 +17,7 @@ Interested in contributing? Awesome!
   - [Server side](#server-side)
   - [Client side](#client-side)
   - [Client and server side](#client-and-server-side)
+  - [Embed](#embed)
   - [RTL layout](#rtl-layout)
   - [Testing](#testing)
     - [Unit/integration tests](#unitintegration-tests)
@@ -169,6 +170,16 @@ and the web server is automatically restarted.
 $ npm run dev
 ```
 
+### Embed
+
+The embed is a standalone application built using Webpack.
+The generated files (HTML entrypoint and multiple JS and CSS files) are served by the PeerTube server (behind `localhost:9000/videos/embed/:videoUUID` or `localhost:9000/video-playlists/embed/:playlistUUID`).
+The following command will compile embed files and run the PeerTube server:
+
+```
+$ npm run dev:embed
+```
+
 ### RTL layout
 
 To test RTL layout using `ar` locale: