自由な空間で学びたい学生たち
- Create a database locally named
benedu
- Download composer https://getcomposer.org/download/
- Pull Laravel/php project from git provider.
- Rename
.env.example
file to.env
inside your project root and fill the database information. (windows wont let you do it, so you have to open your console cd your project root directory and runmv .env.example .env
) - Open the console and cd your project root directory
- Run
composer install
orphp composer.phar install
- Run
php artisan key:generate
- Run
php artisan migrate
- Run
php artisan db:seed
to run seeders, if any. - If you get an error when you're using seed, like "Cannot write to directory public/storage/", please delete storage folder and run
php artisan storage:link
- Run
php artisan serve
#####You can now access your project at localhost:8000 :)
composer install
php artisan migrate