Develop based on Laravel v9
- PHP (8)
Please install these extensions on your code editor :
- laravel intellisense
- Fork this Repository:
- Clone this Repository
$ git clone https://github.com/{your-username}/school-payment-information-system.git
- Add upstream to the clone results
$ git remote add upstream https://github.com/akhmadrizki/school-payment-information-system.git
- Copy file
.env.example
to.env
: - Install all package
$ composer install
$ npm install
$ php artisan serve
...
DB_DATABASE=db_name
DB_USERNAME=db_username
DB_PASSWORD=
...
- Run this command:
$ php artisan key:generate
$ composer dump-autoload
$ php artisan migrate:fresh --seed
$ php artisan storage:link
- Always pull upstream whenever you want to start developing
$ git pull upstream development
- Create a new branch for each developed feature. Example:
$ git branch feature/add-login // Contoh saat membuat branch untuk fitur baru
$ git branch bug/fix-menu // Contoh saat membuat branch untuk fix bug
- If your work already done, push to the repo of your fork
$ git push origin {nama-branch}
- When ready to be taken to the main repository. Make a Pull Request from your branch to the
development
branch. Before the pull request, make sure the branch is clean. If there is a conflict, please fix the conflict. Make sure to make a good title and description so it's easy to understand! - Ganbatte!!!