目的 (Purpose):
このリポジトリは、自然言語処理を取り扱うアプリケーションのソースコードを格納しています。
This repository contains the source code for an application dealing with natural language processing.
このアプリケーションはDockerを利用しているため、簡単に環境を構築することができます。以下の手順をご参照ください。
This application uses Docker, making it easy to set up the environment. Please follow the steps below.
-
requirements.dev.txtとrequirements.prod.txtには、アプリケーションの実行に必要なライブラリがリストされています。
Therequirements.txtandrequirements.prod.txtlists the libraries required to run the application. -
開発用とデプロイ用にそれぞれ異なるライブラリをインストールする場合 (If installing different libraries for development and deployment):
- 開発用 (Development):
requirements.dev.txt - デプロイ用 (Deployment):
requirements.prod.txt
- 開発用 (Development):
-
開発用 (Development):
.env.dev.sampleを参考にして.env.devを作成。
Use.env.dev.sampleas a reference to create.env.dev. -
デプロイ用 (Deployment):
.env.prod.sampleを参考にして.env.prodを作成。
Use.env.prod.sampleas a reference to create.env.prod.
docker-compose -f docker-compose.dev.yml build
docker-compose -f docker-compose.dev.yml up -ddocker-compose -f docker-compose.prod.yml build
docker-compose -f docker-compose.prod.yml up -d