Movie Rental Management System:
- Administrator:
- User:
- MVC(Model & View &Controller)
- Class Diagram:
- ERD:
./
├── Class
│ └── Movie.php
├── Config
│ └── config.inc.php
├── Controller
│ └── Controller.php
├── Cover
│ ├── Once.jpg
│ ├── Pulp_Fiction.jpg
│ ├── The_Dark_Knight.jpg
│ ├── The_Godfather.jpg
│ ├── The_Godfather:PartII.jpg
│ └── The_Shawshank_Redemption.jpg
├── Database
│ ├── DAO
│ │ └── MovieDAO.php
│ └── DBManager.php
├── Misc
│ ├── AdminUseCase.png
│ ├── ClassDiagram.png
│ └── UserUseCase.png
├── Model
│ └── Model.php
├── README.md
├── SQL
│ └── database.sql
├── Style
│ ├── index_style.css
│ └── index_style.css~
├── View
│ ├── Index
│ │ ├── all_movies_template.php
│ │ └── index_html_template.php
│ └── View.php
└── index.php
- Fork the project from organization into your git.
If you not fork. otherwise, skip that.
- Clone the repo from your remote repo into local
If you not clone. otherwise, skip that.
git clone https://github.com/your_user_name/Movie_Rental_Management_System.git
- Sync with remote repo in organization.
note: do this before you start to coding.
git pull https://github.com/DITTeamProject/Movie_Rental_Management_System.git master
# Sync the remote repo in organization with local folder
git push
# Push the local folder to your own github repo.
- Create new branch from master.
# the default branch is master
git checkout -b new_branch_name
# create and switch to new branch
git checkout exist_branch_name
# switch to existed branch
git branch
# view which branch you are in
-
Coding, testing and debugging or whatever you want to do.
-
Submit your code to new branch
git add --all
# add new files
git commit -m "some message you want to tag"
# commit
git push origin new_branch_name
# push to you github on new branch
- New pull request
Create new pull request for merging back to organization repo. and wait for response.
- Sync you local folder and github
Follow step 3 to sync
Note: there are some git command what you may need.
# delete old branch
git branch -d old_branch_name
# check git status
git status