UNSW COMP1531 19t1 Group Project

Clone this repo:
  1. 2527788 docs: update for Milestone 3 by Adam Yi · 3 months ago master
  2. 9f9f8be docs: add final report by Adam Yi · 3 months ago
  3. 3464c6e MILESTONE 3 RELEASE by Adam Yi · 3 months ago
  4. 7752f32 order: refine test cases for deducting stocks by Stephen · 3 months ago
  5. a511b64 customer: bug fix by Adam Yi · 3 months ago

FOR MILESTONE 3 SUBMISSION DETAILS (HOW TO RUN, HOW TO TEST, ETC), SEE MILESTONE 3 SUBMISSION SECTION DOWN BELOW

Sales System

COMP 1531 Group Project, 19T1

Adam Yi, Qingyi Zhang, Stephen Fong <comp1531-mcdonalds@withadamyi.com, {z5231521, z5173546, z5191673}@cse.unsw.edu.au, i@adamyi.com>

For project architecture, please see architecture.md

For coding style, please see style.md

User stories currently at https://docs.google.com/spreadsheets/d/1wZ794XR8N1M9bWgASx4JkzMh-WmmB8M1dfChf0Xzh8Y/edit

Typesetted version at https://docs.google.com/document/d/18cd048HCGWWj9Pxx0DIyPlCec7mcsh0LN66ZKyXKw30/edit

UML at https://drive.google.com/open?id=1Vlh4jhX4Qese-rn7upasG6vfkCvUOr6R

Git at yiad.am

We use Git @ yiad.am for code review and continuous integration. Please follow quickstart, user guide, and documentation.

All upsteam changes are synced by ReviewBara (not-yet open-sourced) to GitHub.

Milestone 3 Submission

Dependencies

src/app/requirements.txt

Deployment

For Milestone 3 submission, the following value has been set in src/app/settings.py: SQLALCHEMY_DATABASE_URI = "sqlite:////tmp/db.sql"

For test server deployment, please run

cd src
python -m app createdb
python -m app run

For team members (rather than MS3): prod stable deployment Revert SQLite back to SQLALCHEMY_DATABASE_URI = "mysql+pymysql://sales:SECURE_SALES_PWD@db/sales" Use docker-compose to deploy containers

Admin/Staff Access

After registering and logging in, to gain admin privileges (become staff account), visit /admin/join and use the password bestburger

Unit Tests

For Milestone 3 submission, unit tests are at src/app/milestone3_tests They can be run via src/app/milestone3_tests/run_test.sh

For team members (rather than MS3): internal unit tests are at src/app/tests