Skip to content

A application which can let children create own line_bot easily. This application is created by a group of students in Kyoto U.

License

Notifications You must be signed in to change notification settings

xiaogeamadeus/linebot_backend2

Repository files navigation

ふろちゃでぼっと / Flowcha-de-bot

The backend of project "ふろちゃでぼっと" (Flowcha-de-bot) Created by students in Kyoto University

2022年技育展 チーム開発部門 最優秀賞受賞作品 Link image1

Technical stack

  • Python / Django / PostgreSQL
  • Server/deployment: docker+Heroku

Setup

  1. postgresの導入 / Import the Postgres

  2. 仮想環境の作成 / Create the virtual environment

python -m venv [the name of virtual environment]
  1. ライブラリのインストール / Install the requirements environment
pip install -r requirements.txt
  1. データベースの作成 / Create the database

データベースのコンソールにはいって以下のSQLを実行 Go into the console of database, and run the SQL code below.

CREATE DATABASE linebot_db;
  1. DBの設定の追加 / Add the settings of database

.env.exampleをコピーして、.envにrename、正しい値を設定する。

copy the .env.example and rename it to.env. Then set the right value.

  1. マイグレーションの実行 / Migration Execution
DJANGO_READ_ENV_FILE=True python manage.py migrate
  1. 開発サーバの起動
DJANGO_READ_ENV_FILE=True python manage.py runserver 8000

CI/CD

CI: Circle CI CD: Circle CI + Heroku

About

A application which can let children create own line_bot easily. This application is created by a group of students in Kyoto U.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages