$ git clone https://github.com/x-oscarr/stalker2.ru.git
$ cd stalker2.ru
$ git checkout master
$ git pull origin dev
$ git checkout dev
- Installing composer packages:
$ composer install
- Run
$ cp .env.example .env
or$ copy .env.example .env
- Inside the
.env
file set the parameterDB_USERNAME
andDB_PASSWORD
with your own to have an access to the database
- Create a database with name is equal to
DB_DATABASE
parameter inside .env file. - Run
$ php artisan key:generate
- Run
$ php artisan migrate
- Run
$ php artisan db:seed
- Run
php artisan serve
- Go to link
localhost:8000
- Run
git pull origin dev
- Run
rm -rf vendor/*
- Run
composer install
For additional information read https://laravel.com/docs/8.x/upgrade
- Run
git pull origin dev
- Run
composer dump-autoload
- Run
php artisan cache:clear
- Run
php artisan migrate:refresh --seed