thecodeholic / laravel-social-media-website

Social Media website starter project built with Laravel and inertiajs with Vue3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel Social Media Website

Laravel Social Media Website built with Inertia Vue.js. The project was created during the following 48 hours YouTube Playlist YouTube Tutorial.

Demo

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

Installation with docker

1. Clone the project

git clone https://github.com/thecodeholic/laravel-social-media-website.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

Social Media website starter project built with Laravel and inertiajs with Vue3


Languages

Language:PHP 53.8%Language:Vue 40.8%Language:Dockerfile 3.3%Language:CSS 0.8%Language:JavaScript 0.7%Language:Shell 0.4%Language:Blade 0.2%