-
Notifications
You must be signed in to change notification settings - Fork 38
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
DOC: Add documentation for running Docker file. #78
Comments
@Pranav0-0Aggarwal , can i work on it ? |
sure, but will you be able to work on so many issues all together? |
@Pranav0-0Aggarwal , I also want to work on this , can I ? |
Assigning this to you @Jibesh10101011 |
@Pranav0-0Aggarwal , sir I have resolved all the issues I was working on. @Jibesh10101011 i will always be ready to coordinate with you. |
sure @Rajgupta36 , assigned this to you too |
@Pranav0-0Aggarwal , @Rajgupta36 Steps for Setting Up and Running the Dockerized Version of PictoPy: A Short Demo Prerequisites :Docker Installation List the required tools and system requirements.Tools System Requirements
Clone the PictoPy Repositorygit clone https://github.com/AOSSIE-Org/PictoPy.git Build the Docker Image Using the Provided DockerfileBackend : docker build -t <backend-image_name> . Run the Docker container.Backend: docker run --rm -p 8000:8000 -it <backend-image_name> Document Probable Issues and Solutions
@Pranav0-0Aggarwal , @Rajgupta36 : can you please suggest if there are any additional steps, tools, or prerequisites that I might have missed. |
@Jibesh10101011, the frontend Docker container is not running directly, and there are some dependencies missing in the Dockerfile. I am working on fixing it before creating the documentation |
The frontend opens in web view but does not work in desktop view due to Docker's limitations. In the previous code if you update vite.config.ts to : server: { The host: true option ensures the server is accessible externally (binds to 0.0.0.0). The issue arises because the Tauri application attempts to render a graphical user interface (GUI) using GTK within a Docker container. Containers generally lack access to a display environment (such as X11 or Wayland), causing GTK to fail with the warning: |
@Jibesh10101011 , you using git it also have x that's provide display access. for linux we need x and for windows can we use multiple things |
What's wrong with the existing documentation
Steps for Setting Up and Running the Dockerized Version of PictoPy
Add ScreenShots
No response
Record
The text was updated successfully, but these errors were encountered: