A part of 2019 NLP SYS project at Chulalongkorn University
- Create your environment with
python -m venv venv
- Activate your environment with
source venv/bin/activate
- Install dependencies with
pip install -r requirements.txt
- Setup .env
cp .example.env .env
and edit the.env
for api keys
- For Windows users, just run
start.ps1
- For Linux/OSX users, just run
./start.sh
The server should be available at port 8080
Build with this command docker build -t repository:tagname .
- Pull the docker image with
docker pull compisit/nlp-movie-backend:latest
- Start the server with
docker run --rm -p 8080:8080 compisit/nlp-movie-backend:latest
- Server will be available on
localhost:8080
The documentation is provided in swagger ui, please go to {your_host:your_port}/apidocs/