-
Notifications
You must be signed in to change notification settings - Fork 118
docs: add windows equivalent for copying .env file in install instructions #505
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -88,13 +88,18 @@ The current Prisma schema centers around: | |||||||||||||||||||||||||||||||||||||||||
| - MongoDB instance, local or hosted | ||||||||||||||||||||||||||||||||||||||||||
| - OAuth applications for GitHub and Google if you want full sign-in support | ||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
| ```markdown | ||||||||||||||||||||||||||||||||||||||||||
| ### Install | ||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||||||||||||||||||||||
| git clone https://github.com/piyushdotcomm/Editron.git | ||||||||||||||||||||||||||||||||||||||||||
| git clone [https://github.com/piyushdotcomm/Editron.git](https://github.com/piyushdotcomm/Editron.git) | ||||||||||||||||||||||||||||||||||||||||||
| cd Editron | ||||||||||||||||||||||||||||||||||||||||||
| npm install | ||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
| # On macOS and Linux: | ||||||||||||||||||||||||||||||||||||||||||
| cp .env.example .env | ||||||||||||||||||||||||||||||||||||||||||
| # On Windows (Command Prompt): | ||||||||||||||||||||||||||||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 4. Wrong windows comment syntax The README labels the Windows instructions as Command Prompt but uses # comment lines, which CMD does not treat as comments; users pasting the block will see errors. Agent Prompt
|
||||||||||||||||||||||||||||||||||||||||||
| copy .env.example .env | ||||||||||||||||||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+91
to
103
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 1. Updated root readme.md docs The PR modifies documentation in README.md at the repository root instead of placing the updated doc content under /docs. This violates the requirement that documentation changes must be located under /docs (or existing docs outside /docs should only be modified to relocate them). Agent Prompt
Comment on lines
+91
to
103
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2. Install section fenced off README.md opens a ```markdown fence before the Install heading, causing the entire Install section (including the intended ```bash block) to render as literal code instead of a heading and copy-pastable commands. Agent Prompt
Comment on lines
+91
to
103
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win Keep the install instructions out of a markdown code fence. As written, the Install heading and Suggested layout-```markdown
### Install
-```bash
git clone https://github.com/piyushdotcomm/Editron.git
cd Editron
npm install
-
-# On macOS and Linux:
-cp .env.example .env
-
-# On Windows (Command Prompt):
-copy .env.example .env
-```
+```bash
+# On macOS and Linux:
+cp .env.example .env
+```
+
+```cmd
+# On Windows (Command Prompt):
+copy .env.example .env
+```📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
| ### Environment variables | ||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3. Broken git clone command
🐞 Bug≡ CorrectnessAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools