Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

shabaraba/look-into-baskets

Repository files navigation

LOOK INTO BASKETS

this app is to analyze transactions in your store with SMAREGI services.
how to use the app

use languages

  • python 3.8.0
  • mysql
  • pug

use flameworks

  • responder v1.3.0
  • tortoise-orm v0.20.0
  • jinja2 (pug extensions)
  • SmaregiPy

usage

git clone
pip install -r requirements.txt
if you use pipenv, pipenv install -r requirements.txt python3 run.py
or if you use vs-code, you can run for debug named "Python: Responder".

cd app/static && npm install

sudo apt install -y ruby && gem install -y ultrahook

in devcontainer, to catch webhook from smaregi, exec command as following: ultrahook look-into-baskets http://0.0.0.0:5500/webhook

本番環境運用

  1. root権限で操作する
  2. migrateはstagingから操作する
  3. stagingで、root権限後、pipenv shellで起動(pipenv installでパッケージインストール)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published