GithubHelp home page GithubHelp logo

icv's Introduction

Install

  • git clone this repo in the directory of your choice. Or make a repo from this template.

  • composer install will install all necessary packages in vendor directory.

  • Because I am using clockwork, inside the storage directory, create a clockwork directory and chmod 775 storage/clockwork. this directory shoud be already created.

  • chmod -R 775 databse/ storage/ will give apache the write permissions to thos 2 directories.

  • If you use SqLite, touch database/database.sqlite will create an empty file.

  • chmod 775 database/database.sqlite will give write permissions to apache to use this file.

  • In my case I also give 775 to public/assets/images directory because my app store the avatar images in that directory. This is maybe something to change in the future, and use the storage directory with a symlink.

  • php artisan storage:link will create 2 symlinks in the public directory:

    • avatar -> storage/app/public/assets/images/avatar/
    • storage -> storage/app/public/
  • Check that the file storage/app/public//assets/images/avatar/default.png exists.

  • In the file webpack.mix.js change the proxy variable with your desired url.

  • run npm install to install all the necessary js and css libraries.

  • Create a new .env file, or create it from copying the existing .env.example.

  • run php artisan ide-helper:generate. Necessary for your editor to recognize all the classes and functions.
    Reload your editor if it is opened.

  • Run this command to generate a key for Laravel's encrypter: php artisan key:generate.

  • php artisan migrate:refresh --seed to create the tables in the database and seed some users.

  • If you are working in a Windows environement update your hosts file with correct settings: domain name and ip.

  • If you are working in a mixed environement (linux+windows) update the hosts file in linux also.

  • Choose wich icons to use: Fontawesome or Google icons.

  • The bootstrap version of the auth package from laravel has already been downloaded and installed. Laravel docs

TODO

  • Where to store avatar images?
    All the logic behind the storage and check,
    Check if it is a goof idea to make it nullable in database tables
    Where to store the files? in the storage directory.

icv's People

Contributors

iz5clj avatar

Watchers

James Cloos avatar  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.