From a534598fb109d74c3440d7db0c902f24cfdf3b1a Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Tue, 24 Sep 2024 15:02:54 +0200 Subject: [PATCH] fine tune responsive layout, move dev instruction, cleanups --- .ignore | 8 ++++++ docs/developer.md | 39 +++++++++++++++++++++++++++ frontend/README.md | 41 ----------------------------- frontend/components/SystemStats.vue | 3 +-- frontend/eslint.config.mjs | 2 +- frontend/package-lock.json | 24 ++++++++--------- frontend/package.json | 2 +- frontend/pages/logging.vue | 4 +-- frontend/pages/media.vue | 12 ++++----- scripts/build.sh | 4 --- 10 files changed, 70 insertions(+), 69 deletions(-) create mode 100644 .ignore diff --git a/.ignore b/.ignore new file mode 100644 index 00000000..7e2b786e --- /dev/null +++ b/.ignore @@ -0,0 +1,8 @@ +assets/ +debian/ +docker/ +docs/ +frontend/ +migrations/ +scripts/ +tests/ diff --git a/docs/developer.md b/docs/developer.md index ea62268c..46d83ce0 100644 --- a/docs/developer.md +++ b/docs/developer.md @@ -68,3 +68,42 @@ cargo deb --no-build --target=aarch64-unknown-linux-gnu --variant=arm64 -p ffpla # for rhel based systems: cargo generate-rpm --target=x86_64-unknown-linux-musl ``` + +## Setup Frontend + +Make sure to install the dependencies: + +```bash +# yarn +yarn install + +# npm +npm install + +# pnpm +pnpm install --shamefully-hoist +``` + +## Development Server + +Start the development server on http://localhost:3000 + +```bash +npm run dev +``` + +## Production + +Build the application for production: + +```bash +npm run build +``` + +Locally preview production build: + +```bash +npm run preview +``` + +Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. diff --git a/frontend/README.md b/frontend/README.md index 5d8c537d..84cd0440 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -1,8 +1,6 @@ ffplayout-frontend ===== -This web application is used to manage the [ffplayout](https://github.com/ffplayout/ffplayout). - The interface is mostly designed for 24/7 streaming. Other scenarios like streaming in folder mode or playlists with no start time will work but will not be displayed correctly. For a better understanding of the functionality, take a look at the screenshots below. @@ -27,42 +25,3 @@ For a better understanding of the functionality, take a look at the screenshots ### Configuration Page ![config-gui](/docs/images/config-gui.png) - -## Setup - -Make sure to install the dependencies: - -```bash -# yarn -yarn install - -# npm -npm install - -# pnpm -pnpm install --shamefully-hoist -``` - -## Development Server - -Start the development server on http://localhost:3000 - -```bash -npm run dev -``` - -## Production - -Build the application for production: - -```bash -npm run build -``` - -Locally preview production build: - -```bash -npm run preview -``` - -Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. diff --git a/frontend/components/SystemStats.vue b/frontend/components/SystemStats.vue index edb5a2bc..624b01e9 100644 --- a/frontend/components/SystemStats.vue +++ b/frontend/components/SystemStats.vue @@ -1,6 +1,5 @@