1. Clone taskman (follow previous tutor) from GitLab.
2. Open folder taskman (cloned. in xampp htdocs).
3. Terminal > New Terminal > Install dependencies, type composer install.
5. Copy .env files. Type cp .env.example .env.
6. Serve the app. Type php artisan serve. Can copy http link and paste in the browser.
7. New terminal, type as below, to create model and controller:
9. Create migration. ctrl+p search migrate. Create a new file. Set the name as the date when you created the file and what you want to do.
10. Under resources/views/tags, add form.blade.php and list.blade.php. Form for creating new tags and list for listing out all tags created.
Merge
1. Click branch (bottom left icon) > Create new branch > put initial (z). Check bottom left if branch is created.
2. Source Control menu > Stage changes (Click now new 'U' ones created or 'M' changes) that you made > add Message (same as branch name) > click Commit icon (right icon).
3. Open GitLab and create a new merge request (in the project GitLab). Assign to PIC. Uncheck delete branch and check whether the changes to commit are correct.
Correction (10/5)
- TagsController > add() to create() (standardized function name).
- TagsController > add_process() to store().
- form.blade.php > tags.add_process to tags.store.
- web.php > add_process to store.
- web.php > add to create.
End
No comments:
Post a Comment
Komen atau sebarang pertanyaan di sini :)