Skip to content

tuankiet116/media_social_network

Repository files navigation

Media Social Network

1. Requirement

  • Composer
  • PHP 7.4 and Apache, Mysql
  • Nodejs, Npm
  • Vue3, Laravel 8

2. How to setup this project?

  • cd path/to/project
  • composer install
  • npm install
  • Config your env and APP_URL in env that need to be the same with URL in Facebook Developer Console
  • Run php artisan serve
  • Run php artisan migrate
  • Run php artisan db:seed
  • Run php artisan queue:listen
  • Run php artisan storage:link
  • npm run watch

3. Prepare files default

  • First, go to /storage/app/public and create defaults/avatars and defaults/background
  • With setting up background default image you need create a background.png file. This is the default background image of user in case when user setting up their account has no choose any image of background.
  • As same as above, with avatar image default, you should add more images into this folder with any name you want. All of these images gonna be choises for user setting up their account.