Search code examples
phpdatabaselaravel-5phpmyadminobject-oriented-database

setting up existing laravel project in Ubuntu


How to setup existing laravel 5 project and there database in Ubuntu 14.04 using xampp?


Solution

  • Some of things you need to consider for new setup. If you have setup git repo then

    1. You can just pull from git If not copy/paste all folders except vendor, node_modules.
    2. Use composer install to make vendor folder
    3. Use npm install to make node_modules folder if you already using
    4. Use php artisan migrate to make database structure
    5. Use php artisan db:seed if you set any seeding to fill tables data
    6. Use php artisan key:generate to make security.
    7. Create/Update .env file to make work configuration from environment

    Now you have to point your domain with root folder of laravel you created here.