-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
1,226 additions
and
1,226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
# WowProject | ||
A therapeutic functional mobile game that provides children with psychological comfort through interaction with a doll | ||
|
||
## Project Duration | ||
2023.09.01~2023.11.30 | ||
|
||
## Members of Team 9 | ||
|한상현|정희원|박덕열|기여스| | ||
|:--:|:--:|:--:|:--:| | ||
|[@Hyunnnnnnn](https://github.com/Hyunnnnnnn)|[@heewoneha](https://github.com/heewoneha)|[@SimpleCorini](https://github.com/SimpleCorini)|[@Kiyeoos](https://github.com/Kiyeoos)| | ||
|
||
## Results of This Project | ||
### Video | ||
|
||
### Image | ||
|
||
## Project Architecture | ||
![Architecture](https://github.com/my-friend-wow/WowProject/assets/74031620/7b3be650-5f5b-437a-917b-ada201d120a5) | ||
|
||
## Tech Stack | ||
![Stack](https://github.com/my-friend-wow/WowProject/assets/74031620/001ccd24-0dbf-4ef2-bebc-7cd36789a98b) | ||
|
||
|Field|Tech Stack| | ||
|:--:|:--| | ||
|Front-end|<img src="https://img.shields.io/badge/Flutter-E6E6E6?style=for-the-badge&logo=flutter&logoColor=013ADF"/>| | ||
|Back-end|<img src="https://img.shields.io/badge/Flask-black?style=for-the-badge&logo=flask&logoColor=white"/> <img src="https://img.shields.io/badge/Gunicorn-E6E6E6?style=for-the-badge&logo=gunicorn&logoColor=298A08"/> <img src="https://img.shields.io/badge/Docker-E6E6E6?style=for-the-badge&logo=docker&logoColor=2496ED"/> <img src="https://img.shields.io/badge/Nginx-21610B?style=for-the-badge&logo=Nginx&logoColor=white"/> <img src="https://img.shields.io/badge/Azure SQL DB (MSSQL)-017CEE?style=for-the-badge&logo=microsoft&logoColor=white"/>| | ||
|Hardware|<img src="https://img.shields.io/badge/Raspberry Pi-C7053D?style=for-the-badge&logo=raspberrypi&logoColor=white"/> <img src="https://img.shields.io/badge/OpenAI-E6E6E6?style=for-the-badge&logo=OpenAI&logoColor=black">| | ||
|
||
## ERD | ||
![Erd](https://github.com/my-friend-wow/WowProject/assets/74031620/cb8a3399-4a11-400a-8311-6f0947cc2baf) | ||
# WowProject | ||
A therapeutic functional mobile game that provides children with psychological comfort through interaction with a doll | ||
|
||
## Project Duration | ||
2023.09.01~2023.11.30 | ||
|
||
## Members of Team 9 | ||
|한상현|정희원|박덕열|기여스| | ||
|:--:|:--:|:--:|:--:| | ||
|[@Hyunnnnnnn](https://github.com/Hyunnnnnnn)|[@heewoneha](https://github.com/heewoneha)|[@SimpleCorini](https://github.com/SimpleCorini)|[@Kiyeoos](https://github.com/Kiyeoos)| | ||
|
||
## Results of This Project | ||
### Video | ||
|
||
### Image | ||
|
||
## Project Architecture | ||
![Architecture](https://github.com/my-friend-wow/WowProject/assets/74031620/7b3be650-5f5b-437a-917b-ada201d120a5) | ||
|
||
## Tech Stack | ||
![Stack](https://github.com/my-friend-wow/WowProject/assets/74031620/001ccd24-0dbf-4ef2-bebc-7cd36789a98b) | ||
|
||
|Field|Tech Stack| | ||
|:--:|:--| | ||
|Front-end|<img src="https://img.shields.io/badge/Flutter-E6E6E6?style=for-the-badge&logo=flutter&logoColor=013ADF"/>| | ||
|Back-end|<img src="https://img.shields.io/badge/Flask-black?style=for-the-badge&logo=flask&logoColor=white"/> <img src="https://img.shields.io/badge/Gunicorn-E6E6E6?style=for-the-badge&logo=gunicorn&logoColor=298A08"/> <img src="https://img.shields.io/badge/Docker-E6E6E6?style=for-the-badge&logo=docker&logoColor=2496ED"/> <img src="https://img.shields.io/badge/Nginx-21610B?style=for-the-badge&logo=Nginx&logoColor=white"/> <img src="https://img.shields.io/badge/Azure SQL DB (MSSQL)-017CEE?style=for-the-badge&logo=microsoft&logoColor=white"/>| | ||
|Hardware|<img src="https://img.shields.io/badge/Raspberry Pi-C7053D?style=for-the-badge&logo=raspberrypi&logoColor=white"/> <img src="https://img.shields.io/badge/OpenAI-E6E6E6?style=for-the-badge&logo=OpenAI&logoColor=black">| | ||
|
||
## ERD | ||
![Erd](https://github.com/my-friend-wow/WowProject/assets/74031620/cb8a3399-4a11-400a-8311-6f0947cc2baf) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
## Usage | ||
|
||
> [!Note] | ||
> Make sure to create `.env` file inside the `/back_end/server` directory based on `.env.example`. | ||
```bash | ||
docker build -t {원하는_이름} . | ||
docker run -d -p {원하는_포트}:5000 {원하는_이름} | ||
``` | ||
## Usage | ||
|
||
> [!Note] | ||
> Make sure to create `.env` file inside the `/back_end/server` directory based on `.env.example`. | ||
```bash | ||
docker build -t {원하는_이름} . | ||
docker run -d -p {원하는_포트}:5000 {원하는_이름} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
# .env 파일을 /back_end/server 안에 생성 후 실행하세요 | ||
FROM python:3.8-slim | ||
|
||
WORKDIR /app | ||
|
||
# using cache, pip install | ||
COPY requirements.txt /app | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y curl && \ | ||
pip install --upgrade pip && \ | ||
pip install -r ./requirements.txt | ||
|
||
# copy all files & dirs | ||
COPY . /app | ||
|
||
# flask with gunicorn | ||
ENV FLASK_APP=run | ||
|
||
RUN mkdir -p /var/log/gunicorn && \ | ||
touch /var/log/gunicorn/error.log && \ | ||
touch /var/log/gunicorn/access.log | ||
|
||
# mssql | ||
RUN curl https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/trusted.gpg.d/microsoft.asc && \ | ||
curl https://packages.microsoft.com/config/debian/11/prod.list | tee /etc/apt/sources.list.d/mssql-release.list && \ | ||
apt-get update && \ | ||
ACCEPT_EULA=Y apt-get install -y msodbcsql18 | ||
|
||
# cron job | ||
RUN apt-get install -y python-is-python3 | ||
|
||
RUN apt-get install -y cron | ||
RUN cp /app/cronjob /etc/cron.d/cronjob && \ | ||
chmod +x /etc/cron.d/cronjob && \ | ||
crontab /etc/cron.d/cronjob | ||
|
||
EXPOSE 5000 | ||
|
||
# run shell | ||
RUN chmod +x /app/entrypoint.sh | ||
CMD ["./entrypoint.sh"] | ||
# .env 파일을 /back_end/server 안에 생성 후 실행하세요 | ||
FROM python:3.8-slim | ||
|
||
WORKDIR /app | ||
|
||
# using cache, pip install | ||
COPY requirements.txt /app | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y curl && \ | ||
pip install --upgrade pip && \ | ||
pip install -r ./requirements.txt | ||
|
||
# copy all files & dirs | ||
COPY . /app | ||
|
||
# flask with gunicorn | ||
ENV FLASK_APP=run | ||
|
||
RUN mkdir -p /var/log/gunicorn && \ | ||
touch /var/log/gunicorn/error.log && \ | ||
touch /var/log/gunicorn/access.log | ||
|
||
# mssql | ||
RUN curl https://packages.microsoft.com/keys/microsoft.asc | tee /etc/apt/trusted.gpg.d/microsoft.asc && \ | ||
curl https://packages.microsoft.com/config/debian/11/prod.list | tee /etc/apt/sources.list.d/mssql-release.list && \ | ||
apt-get update && \ | ||
ACCEPT_EULA=Y apt-get install -y msodbcsql18 | ||
|
||
# cron job | ||
RUN apt-get install -y python-is-python3 | ||
|
||
RUN apt-get install -y cron | ||
RUN cp /app/cronjob /etc/cron.d/cronjob && \ | ||
chmod +x /etc/cron.d/cronjob && \ | ||
crontab /etc/cron.d/cronjob | ||
|
||
EXPOSE 5000 | ||
|
||
# run shell | ||
RUN chmod +x /app/entrypoint.sh | ||
CMD ["./entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from .common import app, db | ||
from .main import * | ||
from .account import * | ||
from .pedometer import * | ||
from .my_friend import * | ||
from .room import * | ||
from .common import app, db | ||
from .main import * | ||
from .account import * | ||
from .pedometer import * | ||
from .my_friend import * | ||
from .room import * |
Oops, something went wrong.