Skip to content

Latest commit

 

History

History
159 lines (123 loc) · 7.46 KB

README.md

File metadata and controls

159 lines (123 loc) · 7.46 KB

Snow White and the Seven Pandas

section 1 Travis branch GitHub issues standard-readme compliant

A team project's repository as part of 2110423 Software Engineering course 1/2017

Whalemart is a market space matching platform which allows flea market vendor and flea market lessor to make an agreement on each booth area easily.

Table of Contents

Documents

Developing

Prerequisites

General

Frontend-webapp

This is used for developing in a frontend-webapp.

  • Node.js 8.9.1 or higher
  • Yarn 1.3.2 or higher (as a npm replacement)
  • Angular CLI 1.5.0 or higher (can be installed using Yarn by using command yarn global add @angular/cli)

Note: nvm is recommended.

Quickstart

Run docker-compose up --build within project folder. The development environment will be spinned up.

You can then access the followings:

Import Data

  • Copy dump_images to /webserver folder and name it as media.
  • Start your docker-compose or webserver and db service.
  • run import_data.sh which is a file in the webserver folder.

Git Convention

Branching

  1. Consider branch out feature branch from master branch for easier management.
  2. Do use kebab casing for branch name, and consider prefix branch name with backend or frontend. For example, backend/facebook-login-api and frontend/market-page.
  3. Consider making a PR and having someone review your code instead of merging directly to a master branch.

Commits

  1. Consider having each commit representing only single logical change.
  2. Do having the first line of the commit message be a summary of the commit.
  3. Do capitalize the first line of the commit message, and don't end the first line with a period, e.g. Add Facebook login API (without trailing period).
  4. Do use imperative mood for the first line of th commit message.

Contributing Design

Our design team uses Sketch as a design tool for prototyping high-fidelity user interface. However, due to the limitation of versioning sketch's binary files on Git, we decided to use Kactus, the design version control, as a complement to facilitate design workflow. For further information on Kactus, please visit https://kactus.io/help/how-to/.

In order to collaborate, first, you have to clone this repository and access all available design work products inside the design directory.

After installing Kactus, you can regenerate a sketch file from JSON by directly clicking the Regenerate Sketch File button inside the Kactus app.


Figure 1: Regenerating sketch file in Kactus

When you make some changes to sketch files, Kactus watches those files and re-parses them automatically. Please note that at this step Kactus is required to be opened. This parsed (or exploded) view of your sketch file is what git tracks. So, you can use your preferred Git client to commit your work and push to the remote as usual.

You can also peek and leave comments on the current Whalemart's UI at https://sketch.cloud/s/ELk4v/ui/.

Contributors

Kasidit Iamthong
Student ID: 5731005321
GitHub: @futurizing

Kawin Liaowongphuthorn
Student ID: 5731004721
GitHub: @KawinL

Korrawe Karunratanakul
Student ID: 5731002421
GitHub: @korrawe

Kosate Limpongsa
Student ID: 5731012721
GitHub: @neungkl

Parinthorn Saithong
Student ID: 5730329521
GitHub: @pirsquareff

Poomarin Phloyaphisut
Student ID: 5731091221
GitHub: @PoomarinPh

Sirinthra Chantharaj
Student ID: 5730635521
GitHub: @sirinthra-cc

Thanat Jatuphattharachat
Student ID: 5730243121
GitHub: @JThanat

License

MIT © 2017 Snow White and the Seven Pandas