Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gomjellie/soongsiri

🐟 μˆ­μ‹€λŒ€ μΉ΄μΉ΄μ˜€ν†‘ 학식봇
https://github.com/gomjellie/soongsiri

flask messangerbot university-project

Last synced: 25 days ago
JSON representation

🐟 μˆ­μ‹€λŒ€ μΉ΄μΉ΄μ˜€ν†‘ 학식봇

Awesome Lists containing this project

README

        

# What is Soongsiri?

μˆ­μ‹€λŒ€ν•™κ΅ 식단, λ„μ„œκ΄€ μ—΄λžŒμ‹€, 근처 ꡐ톡정보λ₯Ό μΉ΄μΉ΄μ˜€ν†‘μœΌλ‘œ μ œκ³΅ν•˜λŠ” μΉ΄μΉ΄μ˜€ν†‘ μ±„νŒ…λ΄‡μž…λ‹ˆλ‹€.

식단지원 λ¦¬μŠ€νŠΈλŠ” λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€:

학식(학생 식당), ꡐ식(ꡐ직원 식당), 기식(κΈ°μˆ™μ‚¬), ν‘ΈνŠΈμ½”νŠΈ, μŠ€λ‚΅μ½”λ„ˆ, 더 ν‚€μΉœ

식단정보λ₯Ό 보여쀄 λΏλ§Œμ•„λ‹ˆλΌ 별점을 λ§€κ²¨μ„œ λ‹€λ₯Έ ν•™μš°μ˜ 선택을 λ„μšΈ 수 μžˆμŠ΅λ‹ˆλ‹€.

![run on mac](DOCS/haksik.gif)

# μ„œλΉ„μŠ€λ₯Ό μ΄μš©ν•˜λŠ” 법

λͺ¨λ°”μΌμ—μ„œ [http://pf.kakao.com/_EMxkxgd](http://pf.kakao.com/_EMxkxgd) 링크λ₯Ό 톡해 μΉœκ΅¬μΆ”κ°€ ν•˜κ±°λ‚˜, ν”ŒλŸ¬μŠ€μΉœκ΅¬ κ²€μƒ‰μ—μ„œ `μˆ­μ‹€λŒ€ 학식` 을 κ²€μƒ‰ν•΄μ„œ μΉœκ΅¬μΆ”κ°€ ν•©λ‹ˆλ‹€.

## install dependencies
```bash
virtualenv venv -p python3

source ./venv/bin/activate

pip install -r ./requirements.txt
```

## set time-zone

```bash
dpkg-reconfigure tzdata
```

asia -> seoul 선택

## set mongodb environ

https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-16-04

```bash
sudo systemctl start mongodb

sudo systemctl stop mongodb
```

## setup

```bash

cp ./soongsiri.service /etc/systemd/system/soongsiri.service
cp ./soongsiri.nginx /etc/nginx/sites-available/soongsiri
ln -s /etc/nginx/sites-available/soongsiri /etc/nginx/sites-enabled

```

## start

```bash

systemctl start soongsiri
systemctl enable soongsiri
# systemctl daemon-reload

service nginx start
```