Skip to content

wafflestudio/siksha-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

92 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

workflow workflow

Siksha Android

SNU Cafeteria Information Application

Features

  • ๊ต๋‚ด ์‹๋‹น ์ •๋ณด ์กฐํšŒ
  • ๊ต๋‚ด ์‹๋‹น ๋ฉ”๋‰ด ์กฐํšŒ
  • ๋ฉ”๋‰ด ์ฆ๊ฒจ์ฐพ๊ธฐ ๋“ฑ๋ก
  • ๋ฉ”๋‰ด ๋ฆฌ๋ทฐ, ํ‰์ , ์ข‹์•„์š”
  • ์ปค๋ฎค๋‹ˆํ‹ฐ(WIP)

Tech Stacks

  • MVVM
  • Jetpack Compose
  • Dependency Injection with Hilt
  • Firebase crashylistics & app distribution

Getting Started

Secrets

Staging ๋นŒ๋“œ๋ฅผ ์œ„ํ•ด ๋‹ค์Œ ํŒŒ์ผ๋“ค์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

  • app/src/staging/google-services.json
  • app/src/staging/res/values/secrets.xml

Live ๋นŒ๋“œ๋ฅผ ์œ„ํ•ด ๋‹ค์Œ ํŒŒ์ผ๋“ค์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

  • app/src/live/google-services.json
  • app/src/live/res/values/secrets.xml

ํ•„์š”์‹œ maintainer์—๊ฒŒ ์š”์ฒญํ•ด์ฃผ์„ธ์š”.

Installation

  1. Android Studio๋ฅผ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค.
  2. ๋‹ค์Œ ๋ช…๋ น์–ด๋ฅผ ์ž…๋ ฅํ•˜์—ฌ repository๋ฅผ cloneํ•˜๊ณ , Android Studio๋กœ ํ”„๋กœ์ ํŠธ๋ฅผ ์—ฝ๋‹ˆ๋‹ค.
    git clone https://github.com/wafflestudio/siksha-android
    
  3. JDK 17์œผ๋กœ ํ”„๋กœ์ ํŠธ๋ฅผ ๋นŒ๋“œํ•˜์—ฌ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

Deployment

  1. develop์— ๋ชจ๋“  PR์„ ๋จธ์ง€ํ•˜๊ณ  release-${version-code} ๋ธŒ๋žœ์น˜๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.
  2. version.properties์˜ version code๋ฅผ rc๋ฅผ ํฌํ•จํ•˜์—ฌ ์ž…๋ ฅํ•˜๊ณ (e.g. 3.4.0-rc1) ํ‘ธ์‰ฌํ•˜๋ฉด cd.yml์— ๋”ฐ๋ผ app distribution์— apk๊ฐ€ ์—…๋กœ๋“œ๋˜๋ฉฐ, ํ…Œ์ŠคํŠธ๋ฅผ ๊ฑฐ์น˜๋ฉฐ rc ๋ฒ„์ „์„ ์˜ฌ๋ฆฝ๋‹ˆ๋‹ค.
  3. ํ…Œ์ŠคํŠธ๊ฐ€ ์™„๋ฃŒ๋˜๋ฉด version code๋ฅผ ์ •์‹ ๋ฒ„์ „์œผ๋กœ ์ž…๋ ฅํ•˜๊ณ  ํ‘ธ์‰ฌํ•ฉ๋‹ˆ๋‹ค. app distribution์— ์—…๋กœ๋“œ๋œ apk๋ฅผ ํ”Œ๋ ˆ์ด์Šคํ† ์–ด์— ๋“ฑ๋กํ•ฉ๋‹ˆ๋‹ค.
  4. release-${version-code} ๋ธŒ๋žœ์น˜๋ฅผ develop์— ๋จธ์ง€ํ•ฉ๋‹ˆ๋‹ค. ์ถœ์‹œ๋œ ๋ฒ„์ „์ด ๊ฐ€์žฅ ์ตœ๊ทผ์˜ release-${version-code} ๋ธŒ๋žœ์น˜์™€ ๋™์ผํ•˜๋„๋ก ์œ ์ง€ํ•ด์ฃผ์„ธ์š”.

Branch Conventions

  • default branch๋Š” develop์ž…๋‹ˆ๋‹ค.
  • PR ๋ธŒ๋žœ์น˜ ์ด๋ฆ„์€ ${username}/${changes}(e.g. eastshine2741/add-postlist-screen)์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค.
  • ๋จธ์ง€ ์‹œ squash merge๋งŒ์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.

Maintainers