|
1 | | -<p align="center"><img src="https://laravel.com/assets/img/components/logo-laravel.svg"></p> |
2 | 1 |
|
3 | | -<p align="center"> |
4 | | -<a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a> |
5 | | -<a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/d/total.svg" alt="Total Downloads"></a> |
6 | | -<a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/v/stable.svg" alt="Latest Stable Version"></a> |
7 | | -<a href="https://packagist.org/packages/laravel/framework"><img src="https://poser.pugx.org/laravel/framework/license.svg" alt="License"></a> |
8 | | -</p> |
| 2 | +# Installation |
9 | 3 |
|
10 | | -## About Laravel |
| 4 | +Clone the repository- |
| 5 | +``` |
| 6 | +git clone https://github.com/Ostap34JS/todo-laravel.git |
| 7 | +``` |
11 | 8 |
|
12 | | -Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as: |
| 9 | +Then cd into the folder with this command- |
| 10 | +``` |
| 11 | +cd todo-laravel |
| 12 | +``` |
13 | 13 |
|
14 | | -- [Simple, fast routing engine](https://laravel.com/docs/routing). |
15 | | -- [Powerful dependency injection container](https://laravel.com/docs/container). |
16 | | -- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. |
17 | | -- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). |
18 | | -- Database agnostic [schema migrations](https://laravel.com/docs/migrations). |
19 | | -- [Robust background job processing](https://laravel.com/docs/queues). |
20 | | -- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). |
| 14 | +Then do a composer install |
| 15 | +``` |
| 16 | +composer install |
| 17 | +``` |
21 | 18 |
|
22 | | -Laravel is accessible, yet powerful, providing tools needed for large, robust applications. |
| 19 | +Then create a environment file using this command- |
| 20 | +``` |
| 21 | +cp .env.example .env |
| 22 | +``` |
23 | 23 |
|
24 | | -## Learning Laravel |
| 24 | +Then edit `.env` file with appropriate credential for your database server. Just edit these two parameter(`DB_USERNAME`, `DB_PASSWORD`). |
25 | 25 |
|
26 | | -Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework. |
| 26 | +Then create a database named `todos` and then do a database migration using this command- |
| 27 | +``` |
| 28 | +php artisan migrate |
| 29 | +``` |
27 | 30 |
|
28 | | -If you're not in the mood to read, [Laracasts](https://laracasts.com) contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library. |
| 31 | +Then change permission of storage folder using thins command- |
| 32 | +``` |
| 33 | +(sudo) chmod 777 -R storage |
| 34 | +``` |
29 | 35 |
|
30 | | -## Laravel Sponsors |
| 36 | +At last generate application key, which will be used for password hashing, session and cookie encryption etc. |
| 37 | +``` |
| 38 | +php artisan key:generate |
| 39 | +``` |
31 | 40 |
|
32 | | -We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell): |
| 41 | +## Run server |
33 | 42 |
|
34 | | -- **[Vehikl](https://vehikl.com/)** |
35 | | -- **[Tighten Co.](https://tighten.co)** |
36 | | -- **[British Software Development](https://www.britishsoftware.co)** |
37 | | -- [Fragrantica](https://www.fragrantica.com) |
38 | | -- [SOFTonSOFA](https://softonsofa.com/) |
39 | | -- [User10](https://user10.com) |
40 | | -- [Soumettre.fr](https://soumettre.fr/) |
41 | | -- [CodeBrisk](https://codebrisk.com) |
42 | | -- [1Forge](https://1forge.com) |
43 | | -- [TECPRESSO](https://tecpresso.co.jp/) |
44 | | -- [Pulse Storm](http://www.pulsestorm.net/) |
45 | | -- [Runtime Converter](http://runtimeconverter.com/) |
46 | | -- [WebL'Agence](https://weblagence.com/) |
| 43 | +Run server using this command- |
| 44 | +``` |
| 45 | +php artisan serve |
| 46 | +``` |
47 | 47 |
|
48 | | -## Contributing |
| 48 | +Then go to `http://localhost:8000` from your browser and see the app. |
49 | 49 |
|
50 | | -Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). |
| 50 | +# Demo |
51 | 51 |
|
52 | | -## Security Vulnerabilities |
| 52 | +http://todo-laravel5.herokuapp.com/ |
53 | 53 |
|
54 | | -If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. |
| 54 | +# Screenshots: |
55 | 55 |
|
56 | | -## License |
| 56 | + |
57 | 57 |
|
58 | | -The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
0 commit comments