###Table of Contents###
-
Clone the repo
git clone https://github.com/mchekin/rpg.git rpg -
Navigate to the project folder
cd rpg -
Run composer install to import the dependencies and enable auto-loading
composer install -
Create .env file from the .env.example file
cp .env.example .env -
Generate Laravel Application key
php artisan key:generate -
Assign the generated key to the APP_KEY in the .env file, like so:
APP_KEY=<your generated key>
-
Generate local Homestead files
php vendor/bin/homestead make -
Boot the virtual machine
vagrant up -
SSH into the virtual box ( If you are on a Windows machine, you need Git Bash CLI since Windows CLI does not support SSH )
vagrant ssh -
Navigate to the project folder inside the virtual box
cd rpg -
Run Laravel database migrations and seeds
php artisan migrate php artisan db:seed -
Run PHP build-in development server on the host machine
php artisan serve -
Navigate to http://localhost:8000/
-
Place your project's directory into XAMPP's web root folder (
htdocs) -
Set XAMPP's database credentials and schema to correspond with the database parameters inside
.envfile. -
Run Laravel database migrations
php artisan migrate php artisan db:seed -
Navigate to http://localhost/rpg/public
Open-sourced software licensed under the MIT license