Skip to content

XAMPP installation guide for Windows - #428

Open
viktorcsimma wants to merge 2 commits into
developmentfrom
windows-native-docs
Open

viktorcsimma wants to merge 2 commits into
developmentfrom
windows-native-docs

Conversation

@viktorcsimma

Copy link
Copy Markdown
Contributor

This worked for me without mysterious errors; I think I would even recommend it to students.

@viktorcsimma
viktorcsimma requested a review from kdmnk February 14, 2024 21:47
Comment thread _SETUP_DEV_ENVIRONMENT.md

### Windows (natively)
On Windows, probably the optimal option with respect to performance is
to simply install a web server and a database server natively on the system,

@kdmnk kdmnk Feb 15, 2024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not natively, it's based on Xampp, which is a developer tool and also does a lot of "magic" in the background. We had issues with Xampp before, which did not support the newest PHP versions. Apparently, I see that currently this is not the case, however, we should make a note here to check it before even trying to set up.

Comment thread _SETUP_DEV_ENVIRONMENT.md
4. Type `nvm install lts`. This command will install NPM for you.
5. To be able to use it, you need to add the folder containing the NPM binary to the operating system's PATH variable (so that the command prompt will find it).
- Check the installed version of Node.js with `nvm list`
- Follow [these steps](https://www.mathworks.com/matlabcentral/answers/94933-how-do-i-edit-my-system-path-in-windows). Add the path `%USERPROFILE%\AppData\Roaming\nvm\vXX.XX.X`, where `XX.XX.X` is the version printed by `nvm list`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid links to random pages which might not be available/updated later. Just mention adding it to the path, everyone can google it.

Comment thread _SETUP_DEV_ENVIRONMENT.md
php artisan migrate:fresh --seed
```
15. Finally, you can start your server! For this, type `php artisan serve`. (To stop the server, press Control-C. If you want to use the command prompt, you will need to open a new window.)
16. Your local site can be accessed from the browser at `127.0.0.1:8000`. Log in with `example@eotvos.elte.hu` and `asdasdasd`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The credentials are coming from .env just reference that.

@kdmnk kdmnk changed the title Update docs with a tutorial for native Windows installation XAMPP installation guide for Windows Feb 15, 2024
@kdmnk kdmnk added the on hold label Apr 16, 2024
@viktorcsimma
viktorcsimma requested a review from a team as a code owner July 29, 2024 11:16
@horcsinbalint
horcsinbalint force-pushed the development branch 2 times, most recently from 758a095 to 86e46a2 Compare February 15, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants