GithubHelp home page GithubHelp logo

joseangelcrn / cocker-drive Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 4.01 MB

A file manager system.

PHP 63.59% Vue 24.73% Blade 11.68%
laravel laravel-framework php storage-service storage-manager file-manager file-management file-management-project cocker-drive

cocker-drive's Introduction

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:


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: [email protected]
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.

cocker-drive's People

Contributors

joseangelcrn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fredyfx

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.