STORE์ ๋
ผ๋ฌธ ๊ฒ์, ์์ฝ, ์ถ์ฒ์ ์ํ ์นํ์ด์ง ์
๋๋ค. ์ฌ์ฉ์๊ฐ ์์ฝ์ ์ํ๋ ๋
ผ๋ฌธ์ pdf ํ์ผ๋ก ์
๋ก๋ ์, ๋
ผ๋ฌธ ์์ฝ ๋ฐ ๋น์ทํ ๋
ผ๋ฌธ์ ์ถ์ฒ๋ฐ์ ์ ์์ต๋๋ค.
- Common Service
- ๋ ผ๋ฌธ ๊ฒ์ ์๋น์ค๋ฅผ ์ ๊ณตํฉ๋๋ค.
- ๊ด์ฌ์๋ ๋ ผ๋ฌธ ์คํฌ๋ฉ ์๋น์ค๋ฅผ ์ ๊ณตํฉ๋๋ค.
- Summary Service
- ๋ ผ๋ฌธ ์์ฝ ์๋น์ค๋ฅผ ์ ๊ณตํฉ๋๋ค.
- ํค์๋, ์ด๋ฏธ์ง, ์๋ํด๋ผ์ฐ๋๋ฅผ ๋ ผ๋ฌธ์์ ์ถ์ถํด ํ์ํฉ๋๋ค.
- Recommend Service
- ๋ ผ๋ฌธ ์ถ์ฒ ์๋น์ค๋ฅผ ์ ๊ณตํฉ๋๋ค.
- ์์ฝ๋ ๋ ผ๋ฌธ๊ณผ ๋น์ทํ ๋ ผ๋ฌธ์ ์ถ์ฒํฉ๋๋ค.
- ์์ธ๋ณด๊ธฐํ ๋ ผ๋ฌธ๊ณผ ๋น์ทํ ๋ ผ๋ฌธ์ ์ถ์ฒํฉ๋๋ค.
์ฌ๊ธฐ๋ฅผ ํด๋ฆญํด ์ฌ์ดํธ๋ฅผ ํ์ธํ์ธ์ ๐
๐ STORE - ๋ ผ๋ฌธ ์์ฝ ์๋น์ค
- ์์ํ๊ธฐ
- ์ง์ํ๋ ๋ธ๋ผ์ฐ์
- ์ฌ์ฉ๋ ๋๊ตฌ
- ์ฌ์ฉ๋ ๊ธฐ์
- Commit Convention
- ์ ์
- ๋ผ์ด์ผ์ค
- ์ฐธ๊ณ
์๋ ๋ฐฉ๋ฒ์ ๋ฐ๋ฅด์๋ฉด ํ๋ก์ ํธ๋ฅผ ์คํ์ํฌ ์ ์์ต๋๋ค.
- Windows 10
- Python 3.6.8
- Node.js 8.10.0
- SQLite3
-
๊นํ์ ๋ ํฌ์งํ ๋ฆฌ๋ฅผ ํด๋ก ํฉ๋๋ค.
$ git clone https://lab.ssafy.com/s03-bigdata-sub3/s03p23a406.git
-
npm์ ์ค์นํฉ๋๋ค.
$ npm install
STORE ์๋น์ค๋ฅผ ์ฌ์ฉํ๊ธฐ ์ํด์๋ ๋ค์๊ณผ ๊ฐ์ ๋ฐฉ๋ฒ์ผ๋ก ์คํํฉ๋๋ค:
-
๋ฐฑ์๋ ์๋ฒ๋ฅผ ์คํํฉ๋๋ค.
-
IDE์ import ํ ์คํํฉ๋๋ค.
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py runserver 8080
-
-
ํ๋ก ํธ์๋๋ฅผ ์คํํฉ๋๋ค.
$ npm runserve
ํด๋น ์๋น์ค๋ AWS EC2๋ฅผ ์ด์ฉํ์ฌ ๋ฐฐํฌํ์์ต๋๋ค. ์ฌ์ ์ ์ฌ๊ธฐ๋ฅผ ์ฐธ๊ณ ํด์ AWS EC2๊ณ์ ์ ์์ฑํ์ธ์.
๋ฐฐํฌ๋ฅผ ํ๊ธฐ์ํด์๋ ๋ค์๊ณผ ๊ฐ์ ๋ฐฉ๋ฒ์ผ๋ก ์คํํฉ๋๋ค:
-
AWS EC2 ์ธ์คํด์ค ์์ฑ
-
git repository clone
-
ํ์ํ ํจํค์ง ๋ค์ด๋ก๋
$ pip3 install -r requirement.txt
-
JDK ์ค์น (ํ๊ฒฝ๋ณ์ ์ค์ )
-
python manage.py runserver 0:8080 (์๋ฒ ์คํ)
-
npm build (dist ํด๋ ์์ฑ)
์ฌ๊ธฐ๋ฅผ ํด๋ฆญํ์ธ์.
| ํฌ๋กฌ | ์ฌํ๋ฆฌ | edge | firefox |
|---|---|---|---|
| latest | latest | latest | latest |
- Vue.js 2.6.11
- vue/cli 4.4.6
- npm 6.14.8
- Django 3.1.1
- IDE: Visual Studio Code 1.48
| Technology | Description | Official website |
|---|---|---|
| Vue | Front-end framework | https://vuejs.org/ |
| Vue-router | Routing library | https://router.vuejs.org/ |
| Vuex | Global State Management library | https://vuex.vuejs.org/ |
| Axios | HTTP communication library | https://github.com/axios/axios |
| Technology | Dscription | Official Website |
|---|---|---|
| django | Container + MVC framework | https://www.djangoproject.com/download/ |
| csrf token | Authentication and authorization token | https://docs.djangoproject.com/en/3.1/ref/csrf/ |
์ฌ๊ธฐ๋ฅผ ํด๋ฆญํ์ธ์.
์ฌ๊ธฐ๋ฅผ ํด๋ฆญํ์ธ์.
- branch ์ข ๋ฅ
- develop-[์ด๋์ ] : ๊ฐ ๊ฐ๋ฐ์๋ค์ด ์์ ํ๋ ๊ฐ์ธ ๊ณต๊ฐ.
- Commit ๋ฉ์ธ์ง Format
"[type]commit message, [issue Key] "
ex) git commit -m "[Add] <๊ธฐ๋ฅ์ค๋ช >, [jira Key]"
- Add : ์๋ก์ด ๊ธฐ๋ฅ ์ถ๊ฐ.
- Fix : ๋ฒ๊ทธ ์์ .
- Modify : ๊ธฐ๋ฅ์ ๋ฒ๊ทธ๋ ์์ง๋ง, ์ฝ๋ ์์ .
- Test : ํ ์คํธ์ฉ ์ฝ๋.
- Style : ๋จ์ ์ฝ๋ ํฌ๋ฉงํ .(์ธ๋ฏธ์ฝ๋ก ๋๋ฝ, ๋ค์ฌ์ฐ๊ธฐ ๋ฑ).
- Doc : ๋ฌธ์(.md ๋ฑ) ์์ .
- ๋ฐ์ง์ - jinsoo Park - [email protected] - @ahrtz
- ๊น์๋น - Soonbeen Kim - [email protected] - @soo-ni
- ์ ๋๊ท - Donggyun Yoo - [email protected] - @whydizzy27
- ์ค์ธํ - Inha Yoon - [email protected] - @dlsgk147
- ์ ๋ค๋น์น - Davichi Jeong - [email protected] - @davichiar
Copyright (c) 2015 Juns Alen
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
