Translation JSONs are now generated at build time, removing the necessity to manually run xliff-to-json

- added postbuild.mjs to facilitate this
- all ng build --prod's have been replaced with npm run build
This commit is contained in:
Isaac Abadi
2021-09-29 00:36:56 -06:00
parent c5f7cd1874
commit f0c3837ee5
23 changed files with 122 additions and 3125 deletions

View File

@@ -67,7 +67,7 @@ If you'd like to install YoutubeDL-Material, go to the Installation section. If
To deploy, simply clone the repository, and go into the `youtubedl-material` directory. Type `npm install` and all the dependencies will install. Then type `cd backend` and again type `npm install` to install the dependencies for the backend.
Once you do that, you're almost up and running. All you need to do is edit the configuration in `youtubedl-material/appdata`, go back into the `youtubedl-material` directory, and type `ng build --prod`. This will build the app, and put the output files in the `youtubedl-material/backend/public` folder.
Once you do that, you're almost up and running. All you need to do is edit the configuration in `youtubedl-material/appdata`, go back into the `youtubedl-material` directory, and type `npm build`. This will build the app, and put the output files in the `youtubedl-material/backend/public` folder.
The frontend is now complete. The backend is much easier. Just go into the `backend` folder, and type `npm start`.