An open API service indexing awesome lists of open source software.

https://github.com/joseangelcrn/cocker-drive

A file manager system.
https://github.com/joseangelcrn/cocker-drive

cocker-drive file-management file-management-project file-manager laravel laravel-framework php storage-manager storage-service

Last synced: about 1 year ago
JSON representation

A file manager system.

Awesome Lists containing this project

README

          

# Cocker Drive //..no longer developing =( //


Logo

## Description.
Cocker Drive is a file manager web.

Purpose of this project is to have a versatile file manager in terms of phisic storage place, could be *your own pc, a home server, NAS or servers more powerfull like AWS*. This project contribute the programming logic, physical storage place is your choise.

Later I will add in the documentation (README) the different configurations according to the physical storage place you can use, currently I have only written localhost storage system way.

# To consider .. :

This web aplication contains uploaded files such as icon of web, images as icons of different types of files


# php.ini file configuration server *( example configuration, feel free to adjust it to your needs)*

> post_max_size = 2048M

upload_max_filesize = 2048M

max_execution_time = 5000

max_input_time = 5000

memory_limit = 2048M

max_file_uploads= 500


# Prerequisites:

- Official guide of laravel installation: https://laravel.com/docs/7.x/installation


# After cloning do this:

## 1. Access to root dir of project.

> cd cocker-drive

## 2. Create .ENV file.

> cp .env.example .env

### 2.1 Configuration for localhost (XAMP,WAMP,..).

> DB_CONNECTION=mysql

DB_HOST=127.0.0.1

DB_PORT=3306

DB_DATABASE=cocker-drive (database name, it must previously exist or you will get error. So yout must create it in your database manager as phpmyadmin. )

DB_USERNAME=root (database username, default: root)

DB_PASSWORD= (password database, default: 'empty')

## 3. Install composer/laravel dependences of project.

> composer install

## 4. Create project key.

> php artisan key:generate

## 5. Run migrations.

> php artisan migrate

## 6. Create storage link for public directory.

> php artisan storage:link

## 7. Run seeders (Optional).

> php artisan db:seed

### 7.1 Info users seeds.

Email: jose@gmail.com
Contraseña: josejose

## 8. Run serve.

> php artisan serve

# Future thoughts

+ Fichero class will change. With a class inheritance system i will optimize and clarify code. This feature will improve reading and it will get modularity in order to reuse code. (Working right now !)


+ Tests for correct working of application.
+ Labeling system for each user file. (like twitter)
+ Temporal urls for sharing and another uses.

Those changes will produce an improving of code reading and comprehension.