[bug]: Windows Development Docker-Entrypoint
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
First of all, I tested running the self-hosted script and it worked just fine.
But then, I decided to clone the repo and tried running it.
./bin/docker-entrypoint-*.sh: no such file or directory
It looks like the Dockerfile didn't copy it or its on a different directory since I'm on windows.
Steps to reproduce
1.1. Using windows 11 with the latest docker desktop 1.2. Clone the code locally using:
git clone https://github.com/makeplane/plane.git
- Switch to the code folder:
cd plane - Create your feature or fix branch you plan to work on using:
git checkout -b <feature-branch-name> - Open terminal and run:
./setup.sh - Open the code on VSCode or similar equivalent IDE.
- Review the
.envfiles available in various folders. Visit Environment Setup to know about various environment variables used in system. - Run the docker command to initiate services:
docker compose -f docker-compose-local.yml up -d
Environment
Production
Browser
None
Variant
Local
Version
v0.22.0-dev
Possible duplicate of #834 and #3198
However, after setting CRLF to LF, localhost is stuck to nginx timeout
@mihkuno
Update the Line Feed of nginx\env.sh from CRLF to LF as well.
It worked for me.
@akshat5302
may be we should tru adding a .gitattribute file mentioning to update all the *.sh file line endings.
If no one's testing this out yet. I can try and create a PR.
Please let me know.
Sure @RStha0, please go ahead and create a PR for this