Skip to content

sforzando/portato

Repository files navigation

portato

CI

Mail quota system for JMC.

Portato [porˈtaːto] (Italian, past participle of portare, "to carry"), French notes portées (Anon. n.d.), in music denotes a smooth, pulsing articulation and is often notated by adding dots under slur markings.

screenshot_portato_20181119

How to

$ make help
setup                初回
start                起動
open                 閲覧
hide                 秘匿
reveal               暴露
test                 試験
clean                掃除
prune                破滅
help                 助言

Setup

Local

npm install
make reveal

Heroku

On MacOS,

brew tap heroku/brew && brew install heroku
Initialize
heroku apps:create portato
heroku buildpacks:set heroku/nodejs
heroku buildpacks:add https://github.com/CoffeeAndCode/puppeteer-heroku-buildpack
heroku addons:create heroku-postgresql:hobby-dev
heroku config:add TZ=Asia/Tokyo
heroku config:set account_username=USERNAME
heroku config:set account_password=PASSWORD
Setup Heroku
heroku login
git remote add heroku https://git.heroku.com/portato.git

Execute

make start

Then http://0.0.0.0:3000/ will wait your access.

If you want to run as DEBUG mode,

npm run debug

Deploy to Heroku

git push heroku main
heroku open

ToDo

HIGH (FIXME)

  • Check quota

MID (TODO)

  • Send alert mail

LOW (XXX)

  • Make data persistent via PostgreSQL

Misc

T. B. D.