Code Monkey home page Code Monkey logo

alert_clinic_schedule_km's Introduction

小児科予約状況を確認する

環境準備

Ruby インストール

rbenv install $(cat .ruby-version)

Gem インストール

bundle
cp .envrc{.sample,}

環境変数

※ 各変数設定お願いします

cp .envrc.sample .envrc
touch ./log/development.log

実行

$ docker compose build

$ docker compose run batch

crontabを設定

# /usr/sbin/cronをフルディスクアクセス許可しておく
$ crontab -e

# docker コマンドへのfull pathか、環境変数をreloadして付与するかをして、パスを通して起動する.
# Apple Silicone Mac
*/5 8-18 * * * cd ~/ghq/github.com/${user}/alert_clinic_schedule_km && /opt/homebrew/bin/direnv exec . /usr/local/bin/docker compose run batch

# intel Mac
*/5 8-18 * * * cd ~/ghq/github.com/${user}/alert_clinic_schedule_km && /usr/local/bin/direnv exec . /usr/local/bin/docker compose run batch

ローカル:動いているか確認

tail -F log/development.log

alert_clinic_schedule_km's People

Contributors

orug8m avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.