Skip to content

TaiBIF/taicol-api-2021

Repository files navigation

TaiCOL API

This is repository for TaiCOL API v2 developed based on name tool database schema.

Deployment

  1. copy dotenv.example file and rename it to .env
  2. run docker-compose build to build docker images
  3. run docker-compose up -d to start API service

Note To run TaiCOL API v1 and v2 at the same time, follow the following steps:

  1. run v1 on port 8001 and v2 on port 8002 docker separately
  2. move scripts/custom_nginx.conf to /etc/nginx/conf.d/
  3. restart nginx
sudo systemctl restart nginx
  1. check nginx status
systemctl status nginx.service
  1. if https is required, install certbot and initialize it
sudo amazon-linux-extras install epel
sudo yum install certbot-nginx
sudo certbot --nginx

Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published