Installing genealogy on clean install with Windows + WSL + Ubuntu + MySQL [SIMPLE GUIDE] #28
adamgas
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Thank you for contributing this solution. Me myself, I prefer the simplicity of using LARAGON as a Dev Stack. When configuring PHP, make sure you have the ZIP extension installed and enabled. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Prerequisites:
Open PowerShell
Install Ubuntu 24
Run Ubuntu 24. Everything else is done in Ubuntu:
Install php:
Probably there are too many things up here, but now I cannot check which ones are necessary.
Install Composer:
Install npm:
Install MySQL:
In MySQL
do two things:
Create database with:
Create database user, according to https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql
Grant ALL PRIVILEGES (without GRANT OPTION) to 'gen'@'localhost' user at any database schema and any table or other database object. Maybe it's too much - consider with care.
They say it helps:
Because of this error:
https://stackoverflow.com/questions/35240414/laravel-5-pdoexception-could-not-find-driver
Go to php.ini file
Find:
Uncomment this line, so it is:
Then restart Apache2 server:
Install
genealogy
according to installation rules in READMEcreate a new project folder, cd into the folder
make the needed changes regarding name, url, database connection & mail server
Run genealogy app with:
php artisan serve
ornpm run dev
Open your browser. Type in:
The application should be running. It runs locally on the computer, accessible from Windows environment.
Beta Was this translation helpful? Give feedback.
All reactions