- Create database with name "code_care_task" (without quotes);
- Set your MySQL auth parameters in .env file
- Open cmd and move to root project directory
- Run migrations by artisan command (
php artisan migrate
) - Run seeds (
php artisan db:seed
)
- Run migrations by artisan command (
- Open cmd and move to root project directory
- Run composer (
composer install
), and wait until all packages will be downloaded
- Run composer (
Task, which creates XML file from users info - located in
\App\Console\Commands\CreateXMLUsers
namespace. XML file will be stored atstorage/app/users.xml
To start the scheduler, you must create a cron job on your server manualy, and run * * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1
, where php
is path to php.exe, and where /path/to/artisan
is path to php artisan.
Or, you can move to /cron
directory from root folder, edit crontab
file, and replace some paths. After this, you can run scheduler by executing crontab.exe
binary.