Skip to content

Commit 5a4d4ed

Browse files
author
Hira
authored
Add README.md for contributing to the project. (#1)
Our README is currently the default README for Laravel. Fix this by adding our own instructions and flavor to the README.
1 parent 557c732 commit 5a4d4ed

File tree

2 files changed

+165
-70
lines changed

2 files changed

+165
-70
lines changed

README-Laravel.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<p align="center"><img src="https://res.cloudinary.com/dtfbvvkyp/image/upload/v1566331377/laravel-logolockup-cmyk-red.svg" width="400"></p>
2+
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>
9+
10+
## About Laravel
11+
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 takes the pain out of development by easing common tasks used in many web projects, such as:
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).
21+
22+
Laravel is accessible, powerful, and provides tools required for large, robust applications.
23+
24+
## Learning Laravel
25+
26+
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
27+
28+
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
29+
30+
## Laravel Sponsors
31+
32+
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).
33+
34+
- **[Vehikl](https://vehikl.com/)**
35+
- **[Tighten Co.](https://tighten.co)**
36+
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
37+
- **[64 Robots](https://64robots.com)**
38+
- **[Cubet Techno Labs](https://cubettech.com)**
39+
- **[Cyber-Duck](https://cyber-duck.co.uk)**
40+
- **[British Software Development](https://www.britishsoftware.co)**
41+
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
42+
- **[DevSquad](https://devsquad.com)**
43+
- [UserInsights](https://userinsights.com)
44+
- [Fragrantica](https://www.fragrantica.com)
45+
- [SOFTonSOFA](https://softonsofa.com/)
46+
- [User10](https://user10.com)
47+
- [Soumettre.fr](https://soumettre.fr/)
48+
- [CodeBrisk](https://codebrisk.com)
49+
- [1Forge](https://1forge.com)
50+
- [TECPRESSO](https://tecpresso.co.jp/)
51+
- [Runtime Converter](http://runtimeconverter.com/)
52+
- [WebL'Agence](https://weblagence.com/)
53+
- [Invoice Ninja](https://www.invoiceninja.com)
54+
- [iMi digital](https://www.imi-digital.de/)
55+
- [Earthlink](https://www.earthlink.ro/)
56+
- [Steadfast Collective](https://steadfastcollective.com/)
57+
- [We Are The Robots Inc.](https://watr.mx/)
58+
- [Understand.io](https://www.understand.io/)
59+
- [Abdel Elrafa](https://abdelelrafa.com)
60+
- [Hyper Host](https://hyper.host)
61+
- [Appoly](https://www.appoly.co.uk)
62+
- [OP.GG](https://op.gg)
63+
64+
## Contributing
65+
66+
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
67+
68+
## Code of Conduct
69+
70+
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
71+
72+
## Security Vulnerabilities
73+
74+
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed.
75+
76+
## License
77+
78+
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

README.md

Lines changed: 87 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,95 @@
1-
<p align="center"><img src="https://res.cloudinary.com/dtfbvvkyp/image/upload/v1566331377/laravel-logolockup-cmyk-red.svg" width="400"></p>
2-
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>
9-
10-
## About Laravel
11-
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 takes the pain out of development by easing common tasks used in many web projects, such as:
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).
21-
22-
Laravel is accessible, powerful, and provides tools required for large, robust applications.
23-
24-
## Learning Laravel
25-
26-
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
27-
28-
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
29-
30-
## Laravel Sponsors
31-
32-
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).
33-
34-
- **[Vehikl](https://vehikl.com/)**
35-
- **[Tighten Co.](https://tighten.co)**
36-
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
37-
- **[64 Robots](https://64robots.com)**
38-
- **[Cubet Techno Labs](https://cubettech.com)**
39-
- **[Cyber-Duck](https://cyber-duck.co.uk)**
40-
- **[British Software Development](https://www.britishsoftware.co)**
41-
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
42-
- **[DevSquad](https://devsquad.com)**
43-
- [UserInsights](https://userinsights.com)
44-
- [Fragrantica](https://www.fragrantica.com)
45-
- [SOFTonSOFA](https://softonsofa.com/)
46-
- [User10](https://user10.com)
47-
- [Soumettre.fr](https://soumettre.fr/)
48-
- [CodeBrisk](https://codebrisk.com)
49-
- [1Forge](https://1forge.com)
50-
- [TECPRESSO](https://tecpresso.co.jp/)
51-
- [Runtime Converter](http://runtimeconverter.com/)
52-
- [WebL'Agence](https://weblagence.com/)
53-
- [Invoice Ninja](https://www.invoiceninja.com)
54-
- [iMi digital](https://www.imi-digital.de/)
55-
- [Earthlink](https://www.earthlink.ro/)
56-
- [Steadfast Collective](https://steadfastcollective.com/)
57-
- [We Are The Robots Inc.](https://watr.mx/)
58-
- [Understand.io](https://www.understand.io/)
59-
- [Abdel Elrafa](https://abdelelrafa.com)
60-
- [Hyper Host](https://hyper.host)
61-
- [Appoly](https://www.appoly.co.uk)
62-
- [OP.GG](https://op.gg)
1+
# Hack 4 Good Project Workforce Development API
632

64-
## Contributing
3+
This API provides job listings and job-related events for the Hack 4 Good Workforce Development Project.
4+
5+
## Development setup
6+
7+
The project is written using a `PHP` framework called [`Laravel`](https://laravel.com/). The following will need to be installed to set up a local development environment.
8+
9+
### Software
10+
11+
* [Node](https://nodejs.org/en/download/)
12+
13+
* [PHP](https://www.php.net/downloads)
14+
* Install `PHP` for your platform. Mac users can use [`Homebrew`](https://formulae.brew.sh/formula/php).
15+
* Project tested with version 7.4.0 of PHP.
16+
17+
* [Composer](https://getcomposer.org/download/)
18+
* Dependency manager for PHP.
19+
* Install `Composer` for your platform. Mac users can use [`Homebrew`](https://formulae.brew.sh/formula/composer).
20+
21+
* Database
22+
* Laravel supports a few databases. Review the [documentation](https://laravel.com/docs/5.8/database) for guidance.
23+
* Tested successfully with `MySQL 8.0.19`.
24+
* For a simple solution, consider using [SQLite](https://www.sqlite.org/download.html)
25+
* There are many `SQLite` browsers available to use. For example, [DB Browser for SQLite](https://sqlitebrowser.org/).
26+
27+
### Database Configuration
28+
29+
Laravel uses `.env` files for configuring the app for a specific environment. See the [documentation](https://laravel.com/docs/6.x/configuration) for more information. To configure Laravel to use a particular database, make of copy of `.env.example` and save it as `.env`.
30+
31+
To set up Laravel to use SQLite for example, find the `DB_CONNECTION` section, and modify the following lines to:
32+
33+
```
34+
DB_CONNECTION=sqlite
35+
DB_DATABASE=/absolute/path/to/database.sqlite
36+
```
37+
38+
### Seeding the Database
39+
40+
1. Run the database migrations:
6541

66-
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
42+
```sh
43+
php artisan migrate
44+
```
6745

68-
## Code of Conduct
46+
2. Seed the database:
6947

70-
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
48+
```sh
49+
php artisan db:seed
50+
```
7151

72-
## Security Vulnerabilities
52+
### Optional Software
7353

74-
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed.
54+
* [Valet](https://laravel.com/docs/6.x/valet) **Mac only**
55+
* For the Mac minimalists that want to set up a Laravel development environment, Valet is a great alternative to `Homestead`.
7556

76-
## License
57+
* [Homestead](https://laravel.com/docs/6.x/homestead)
58+
59+
* [Laravel](https://laravel.com/docs/6.x#installing-laravel)
60+
* For starting new Laravel projects and making the `laravel cli tool` available globally in your terminal of choice.
61+
62+
## Installation
63+
64+
Node dependencies:
65+
```sh
66+
npm install
67+
```
68+
69+
PHP dependencies:
70+
71+
```sh
72+
composer install
73+
```
74+
75+
## Running the app
76+
77+
To start the app, in a terminal execute:
78+
79+
```sh
80+
php artisan serve
81+
```
82+
83+
## Usage example
84+
85+
_For more examples and usage, please refer to the [Wiki](https://github.com/sgfdevs/h4g-api-jobs/wiki)._
86+
87+
88+
89+
## Contributing
7790

78-
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
91+
1. Fork it (<https://github.com/sgfdevs/h4g-api-jobs/fork>)
92+
2. Create your feature branch (`git checkout -b feature/fooBar`)
93+
3. Commit your changes (`git commit -am 'Add some fooBar'`)
94+
4. Push to the branch (`git push origin head`)
95+
5. Create a new Pull Request

0 commit comments

Comments
 (0)