Skip to content

【recommended】package the entire backend deployment of meeting-minutes into a Docker container and make it available for the frontend to call via API interfaces #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
simplify123 opened this issue Mar 27, 2025 · 4 comments

Comments

@simplify123
Copy link

It is recommended to package the entire backend deployment of meeting-minutes into a Docker container and make it available for the frontend to call via API interfaces. I have conducted tests on a Windows 11 Workstation edition, where I installed Python 3.12.3, Rust 1.85.1, Node.js v22.14.0, ffmpeg version 4.4-full, cmake-4.0.0-rc5-windows, and Visual Studio Build Tools with the C++ development workload. However, when running the build_whisper.cmd, I still encountered the following error:

=== Starting Whisper.cpp Build Process ===

Updating git submodules...
Checking for whisper.cpp directory...
Changing to whisper.cpp directory...
Checking for whisper.cpp repository...
"List all files in the whisper.cpp examples directory"
CMakeLists.txt
httplib.h
public
README.md
server.cpp
"Copying all the server files from ../whisper-custom/server to examples/server"
..\whisper-custom\server\CMakeLists.txt
..\whisper-custom\server\httplib.h
..\whisper-custom\server\README.md
..\whisper-custom\server\server.cpp
..\whisper-custom\server\public\index.html
Copied 5 files
Checking for server directory...
Checking for server source files...
Building whisper.cpp server...
Running CMake...
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


CMake Error at CMakeLists.txt:2 (project):
  Running

   'nmake' '-?'

  failed with:

   no such file or directory


CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Failed to run CMake
@maxdd
Copy link

maxdd commented Mar 27, 2025

Docker won't be user friendly with your HW. Unless you want to run it on CPU only I don't think it is advisable.
Making compilation easier can be achieved in other ways.

Have you tried this? https://youtu.be/Tu_8wXgoaDE

That error might be because visual studio build tools is not setting env variable so CMake can't find MSVC compiler. Launch the scripts from x64 native command prompt which should have been installed already, just search it from your windows search bar.

@simplify123
Copy link
Author

Image

I reinstalled the latest version of the Windows 11 operating system, and then installed dependencies such as Python 3.11 and Node.js. Now it can run. Although it can run and the front-end and back-end are separated, it is obviously not appropriate to place this high-performance graphics workstation in the conference room. I suggest that on the basis of the existing separation of front-end and back-end, the back-end provides services to the front-end through APIs. In this way, I only need to bring a mini PC or a lightweight laptop with the front-end software deployed to the conference room to use this function, and the user experience will be much better.

@sujithatzackriya
Copy link
Collaborator

We are adding a configuration option in the frontend so that users will be able to change and add the self hosted server URL and port

@toninog
Copy link

toninog commented Apr 10, 2025

When is this frontend being released? The one with the self hosted URL option?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants