Sign inSign up

eztable/quota_lite

By eztable

•Updated about 4 years ago

API quota query

Image
0

1.5K

eztable/quota_lite repository overview

⁠quota_lite

The project is about searching restaurant quota.

  • restaurants available times of the channel on the date
  • restaurant available times on the date
  • general and bizclass with products and plans status at the time
⁠1) Retrieve the docker login command that you can use to authenticate your Docker client to your registry:
make ecr-login
⁠2) Build your Docker image using the following command.
make build
⁠3) Run the following command to tag and push this image to your created AWS repository:
make push

⁠Modify Container Environment Variables
aws s3 cp s3://eztable-env/akuma/task-definition.json /your-custom-path/
vim /your-custom-path/task-definition.json
aws s3 cp /your-custom-path/task-definition.json s3://eztable-env/akuma/
aws ecs register-task-definition --cli-input-json file:///your-custom-path/task-definition.json
([slack]/ecs-deploy k7p)
⁠Environment Variables
# Please download env files from s3
aws s3 cp s3://eztable-env/quota/.env.dev ./config/
aws s3 cp s3://eztable-env/quota/.env ./config/
aws s3 cp s3://eztable-env/quota/secrets.yml ./config/
aws s3 cp s3://eztable-env/quota/pubsub.json ./config/
aws s3 cp s3://eztable-env/quota/Makefile .
⁠Run at local after build image.
⁠deploy prod server
[slack]/ecs-deploy k7p
⁠npm (set up environment variables before running)
npm run start
⁠summon (setup summon and gopass first)
- development: summon -p gopass -f ./config/secrets.yml -e dev npm run start
- production: summon -p gopass -f ./config/secrets.yml -e prod npm run start
⁠docker
- development: ./up_dev.sh
- production: ./up.sh
⁠Reference

Apiry link⁠

Tag summary

Content type

Image

Digest

sha256:95a40970b…

Size

87.4 MB

Last updated

about 4 years ago

docker pull eztable/quota_lite