简体   繁体   中英

setting up existing laravel project in Ubuntu

如何使用xampp在Ubuntu 14.04中设置现有的laravel 5项目以及那里的数据库?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM