-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91f4421
commit f73b91b
Showing
3 changed files
with
49 additions
and
2 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 |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
 | ||
 | ||
|
||
|
||
## Features | ||
|
||
- Connect to Xendit | ||
|
@@ -12,7 +11,7 @@ | |
## Demo | ||
|
||
You could try the demo at | ||
https://donasi.insanpeduli.org | ||
https://demo.donazy.org | ||
|
||
Email: [email protected] | ||
Password: secret | ||
|
@@ -26,6 +25,11 @@ Password: secret | |
|
||
If you want to know how to install this app, please refer to this [Installation Guide](./installation.md) | ||
|
||
## API Documentation | ||
|
||
Check our API documentation | ||
https://documenter.getpostman.com/view/20104631/2s93m4WMfM | ||
|
||
## Community & Group Discussion | ||
|
||
You could join us at Telegram Group https://t.me/+YJBH4-sZatBiOWE1 | ||
|
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,42 @@ | ||
## Installation | ||
|
||
Clone this repository and install all dependency first | ||
|
||
```sh | ||
composer install | ||
yarn | ||
``` | ||
|
||
Setup .env by copying .env.example file. Generate the laravel key after that. | ||
|
||
```sh | ||
php artisan key:generate | ||
|
||
``` | ||
|
||
Here's the thing. In the .env, you should pay attention to some of the things below | ||
|
||
- APP_ENV = You must set this to production so the attendance system will use a server time. But you can set this to local or development so the attendance system will use an inputted time from the request | ||
- XENDIT_SECRET_KEY= Copy your xendit api key. This will be use in the rest API | ||
- XENDIT_CALLBACK_TOKEN= Copy your xendit callback token. This will be use in the rest API | ||
|
||
After you setup the database, run the migration and seeder | ||
|
||
```sh | ||
php artisan migrate | ||
php artisan db:seed | ||
``` | ||
|
||
Run the server and it was ready to use | ||
|
||
```sh | ||
php artisan serve | ||
``` | ||
|
||
## Callback from xendit | ||
|
||
To get callback from xendit you can use http tunneling like ngrok | ||
|
||
## How To Deploy | ||
|
||
After you successfully install it locally, maybe you want to deploy it too. things you should pay attention to when deploying are these. |