详情请参考:廖雪峰老师的git教程
- Setup
- 下载git
- config 本机git连接的github账号(optional)
- 准备group work
- Fork master 仓库到自己的github仓库
- clone 自己的fork到本机
- master -> forked branch -> local
- 每次work流程
- update 自己的branch,将master的更新fetch到自己的仓库中
- 将自己仓库中的branch pull到local
- 在vscode中修改任何冲突(if any)
- 写代码,done
- 可以再fetch一次,以免有什么新的change,然后commit,并将local code push到自己的branch
- 登录github,向master发起pull request
- master检查代码merge,手动确认merge
- put all code in /opt/lampp/htdocs/
- start server
- get into mysql terminal
- run create.sql & load.sql
- source /opt/lampp/htdocs/Task_C/create.sql
- source /opt/lampp/htdocs/Task_C/load.sql
- Start to use/test
Finalize DatabaseTask_A: BCNF formTask_A.pdf
- Create basic interactive database (no css)
- setup
create.sql
(creating relations)load.sql
if necessary- empty table, load department 出错
- 添加Product, User数据集,和load
- create and code
HTML
files with basicforms
(表单)- hyperlink between pages
Navigation bar on every page
workable forms to take user inputs- Multy
Search Product Page (Index Page)Update Product Page for Employeeif (Employee.id = 1, show dept info), merge into one html neededupdate dept 1update dept 2update dept 3update dept 4
- 露霆
- login in
- Home page CSS?
- works_on page (manager assign task)
- Manage Employee page (add, update, delete) ??
- 冯先生
- Admin.html
- admin 网页
- add/delete product
- add/delete/update employee
- SQL
- Employee, Product,
- search for all information
- insert Emp/product
- update emp/product
dpet 1,2,3,4- update emp
- delete emp/product
- Employee, Product,
- Admin.html
- Multy
- hyperlink between pages
- create
php
files that get values from form and excute sql queries- Search
- Insert
- Update
- Delete
- setup
- Finalize database
- 美化
- css
- 背景
- search bar?
- side list?
- footers?
- Extra functions
- log in system 完善
- user permissions
- Check update product
- bonus?
- order bills
- 美化