Coder Social home page Coder Social logo

laravel-file-manager's Introduction

LaraStorage

About

This is a learning project made with the video guidance from excellent YouTube tutorial channel freeCodeCamp.org. I am very grateful for many excellent videos with Laravel projects to Mr. Zura from @TheCodeholic. Feel free to visit to his channel and learn more.

Built with these technologies:

Prerequisites

Build on Laravel 10 starter template with Vue, Tailwindcss and Inertia.js. If you run this project outside Docker container, you need to have Node installed.

Installation

  1. Download the project (or use git clone)

  2. Go to the project's root directory using terminal

  3. Run composer install

  4. Create database for project

  5. Copy .env.example into .env file

    cp .env.example .env

    and configure database credentials. Adjust other parameters, if needed.

  6. Run DB migrations:

    php artisan migrate

  7. Generate app key:

    php artisan key:generate --ansi

  8. Create a link to public storage folder:

    php artisan storage:link

  9. Run npm run build to prepare assets for production (or e.g. if you want PHPStorm to show TW classes in typehints)

  10. Run npm run dev to start the local development server at http://localhost

Notes

If you intend to set up external filesystem disk, e.g. AWS s3, ensure you have correct credentials stated in your .env file and FILESYSTEM_DISK parameter. If it is not set to local, for every file upload, UploadFileToCloudJob class wil be triggered if Laravel queue started. If you want to run Laravel queue worker on hosting server, consider running it with nohup:

nohup php artisan queue:work --daemon &

To check (or kill) for the running artisan processes run: ps -ax | grep artisan

laravel-file-manager's People

Contributors

ur7ez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.