Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.17 KB

readme.md

File metadata and controls

61 lines (42 loc) · 1.17 KB

Installation

Clone the repository-

git clone https://github.com/Ostap34JS/todo-laravel.git

Then cd into the folder with this command-

cd todo-laravel

Then do a composer install

composer install

Then create a environment file using this command-

cp .env.example .env

Then edit .env file with appropriate credential for your database server. Just edit these two parameter(DB_USERNAME, DB_PASSWORD).

Then create a database named todos and then do a database migration using this command-

php artisan migrate

Then change permission of storage folder using thins command-

(sudo) chmod 777 -R storage

At last generate application key, which will be used for password hashing, session and cookie encryption etc.

php artisan key:generate

Run server

Run server using this command-

php artisan serve

Then go to http://localhost:8000 from your browser and see the app.

Demo

http://todo-laravel5.herokuapp.com (TODO - deploy new changes)

Screenshots:

homepage

tasks_list

edit_task