Backend for an application for interactive learning of programming. Learn about contributing.
To run this app you need:
For Windows, I recommend using XAMPP.
cd
to root project directory..env
file. As you can probably see, there is no file of this name in repository. That is because we don't commit this file into git. Just copy .env.example
as .env
..env
file, fill database credentials:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=name_of_your_database
DB_USERNAME=username_may_be_root_if_locally
DB_PASSWORD=user_password
DB_DATABASE
don't have to exist, because Laravel will create it for you.php artisan key:generate
..env
file won't be loaded into application if you will not clear the configuration cache. Do php artisan config:cache
.php artisan test
.php artisan serve
.