This repository was archived by the owner on Jul 20, 2026. It is now read-only.
Getting Started #8
TheRefraction
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Getting Started
The following tutorial explains how to get started with this project.
Installation
Windows
Requirements
Install WSL
wsl --installand restart your computer.Please make sure the following Windows features are being installed:
wsl --install [Distro]where[Distro]is the name. To view all distributions available for download, enter
wsl --list --onlineInstall Docker Desktop
or using winget (Windows Package Manager) in PowerShell
winget install Docker.DockerDesktop.Use WSL 2instead ofHyper-VYou do not need to create an account, working locally is enough
Install Git
Download the installer either from the official Git website
or using winget in PowerShell
winget install Git.Git.Linux
TODO
Project Setup
git clone https://github.com/TheRefraction/WE4_Project.gitand open it in your IDE
.env.exampleto.envand fill in your values.This file should NEVER be committed to GitHub
manage startscript. This may take a while the first timeNote
Windows users may have trouble to run the PowerShell script if the execution policy is not set accordingly.
Please keep in mind that this may pose a security threats and remember to never run any unknown scripts.
Database Link Configuration
Databasepanel/view+icon and selectMySQLdata sourcelocalhost, port to3306, and provide login informationas well as the database name
You may now view the database within your IDE.
Useful Notes
If you have configured everything correctly, you should have
Connected to MySQL successfully!appear on the
index.phppage.Modifying the
.envfilereasons
Local URLs
made to the files are reloaded when refreshing the page in your
Internet browser
the dashboard by providing
rootas a username and the root password youdefined in your
.envfile.localhost. Should that happen,please replace any occurrence of
localhostby127.0.0.1.All reactions