Skip to content

Web application to store files, similiar to google drive

License

Notifications You must be signed in to change notification settings

WillianMafra/File-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File Manager

📝 This project is similar to Google Drive. In File Maganer, you can upload, download, delete files and even also share with another user. File Manager have login/register, trash, my files, shared with me and shared by me pages. In this project was used nested sets for better archives management.

🛠️ Made with Laravel, VueJS, Composer, NPM, PHP, Postgres, Docker

What you need to use File Manager:

  • Docker
  • Docker Compose
  • Git

Initial Configuration 🚀

  1. Clone this repository
    git clone https://github.com/WillianMafra/File-Manager.git
  1. Access the project directory.
    cd File-Manager
  1. Install Composer dependencies.
    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
  1. Create an alias to simplify using Sail.
    alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'
  1. Rename the .env copy file to .env.
    mv '.env.example' .env
  1. Initialize the Docker environment using Sail.
    sail up -d
  1. Access the application container.
    sail shell
  1. Generate an application key.
    php artisan key:generate
  1. Run database migrations.
    php artisan migrate
  1. Create the link to storage files.
    php artisan storage:link
  1. Run npm install to install Node.js dependencies and npm run dev to compile assets.
    npm install
    npm run dev

Accessing the Application

After following the steps above, the File manager app should be up and running and accessible through the web browser at the following address:

http://localhost/register

After you made your registration, an email with confirmation was sent to

http://localhost:8025

Stopping Sail Environment

To stop the Sail environment, exit the application shell by typing

    exit

and then execute the following command in the project directory:

sail down

😄 Made by Willian Mafra and supported by TheCodeholic's youtube video

linkedin

About

Web application to store files, similiar to google drive

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published