forked from reliefsupports/reliefsupports.org-v1
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into shashika-dev
- Loading branch information
Showing
26 changed files
with
345 additions
and
3,445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
/node_modules | ||
/public/hot | ||
/public/storage | ||
/storage/*.key | ||
/vendor | ||
/.idea | ||
/.vagrant | ||
node_modules/ | ||
storage/ | ||
public/hot | ||
public/storage | ||
storage/*.key | ||
vendor/ | ||
.idea | ||
.vagrant | ||
Homestead.json | ||
Homestead.yaml | ||
npm-debug.log | ||
.env | ||
storage/ | ||
composer.lock | ||
composer.lock | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
# Relief Supports Project | ||
|
||
This is a community driven Open Source project to support relief support activities conduct by volunteers. | ||
This is a community-driven Open Source project to support relief support activities conducted by volunteers. | ||
This project was originally created to support flood relief activities in Sri Lanka in May 2017. | ||
|
||
We welcome your inovative ideas and suggestions to make a better solution for the community. | ||
We welcome your innovative ideas and suggestions to make a better solution for the community. | ||
|
||
http://reliefsupports.org | ||
|
||
## Contribution Guide | ||
|
||
### Setup the development environment | ||
|
||
Clone the prject repository as belows; | ||
* Clone the project repository as below: | ||
|
||
``` | ||
git clone [email protected]:reliefsupports/web-app.git reliefsupports` | ||
git clone [email protected]:reliefsupports/web-app.git reliefsupports | ||
``` | ||
|
||
then, rename `.env.example` file as `.env` | ||
* Then, rename `.env.example` file as `.env` | ||
|
||
#### Docker | ||
|
||
* Install Docker on your computer | ||
* Install [Docker](https://www.docker.com/) on your computer | ||
* Run following commands accordingly | ||
|
||
``` | ||
|
@@ -30,18 +30,18 @@ docker-compose up -d | |
docker exec -it reliefsupports_php_1 bash | ||
composer update | ||
chmod 777 -R storage/ | ||
chmod 777 bootstrap/cache | ||
chmod -R 777 storage/ | ||
chmod 777 bootstrap/cache | ||
``` | ||
|
||
#### On WAMP / XAMPP or other server | ||
|
||
``` | ||
composer update | ||
chmod 777 -R storage/ | ||
chmod -R 777 storage/ | ||
chmod 777 bootstrap/cache | ||
``` | ||
|
||
### Pull requests | ||
|
||
Send all the PRs to `dev` branch. We keep `master` and `prod` branch only for final releases and all the development works on the `dev`. | ||
Send all the PRs to `dev` branch. We keep `master` and `prod` branches only for final releases and all the development works on the `dev`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers; | ||
|
||
use Illuminate\Http\Request; | ||
|
||
class EntryController extends Controller | ||
{ | ||
// private $need; | ||
|
||
/* | ||
* EntryController constructor. | ||
*/ | ||
public function __construct() | ||
{ | ||
} | ||
|
||
/** | ||
* List all donatiaons | ||
* | ||
* @return $this | ||
*/ | ||
public function view() | ||
{ | ||
return view('/frontend/entry/view'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.