Skip to content

mkgy/my-dev-space.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Social Media Website

This project is credited to the following YouTube Tutorial: YouTube Tutorial. and was cloned by me with the sole purpose to educate myself about deploying a Laravel app built with Inertia Vue.js on Hostinger.

Demo

The application is deployed on the following domain laravel-space.com

Installation with docker

1. Clone the project

git clone https://github.com/mkgy/my-dev-space.com.git

2. Run composer install

Navigate into project folder using terminal and run

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v "$(pwd):/var/www/html" \
    -w /var/www/html \
    laravelsail/php83-composer:latest \
    composer install --ignore-platform-reqs

3. Copy .env.example into .env

cp .env.example .env

4. Start the project in detached mode

./vendor/bin/sail up -d

From now on whenever you want to run artisan command you should do this from the container.
Access to the docker container

./vendor/bin/sail bash

5. Set encryption key

php artisan key:generate --ansi

6. Run migrations

php artisan migrate

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published