This is the source code for petakopi.my.
Feel free to start a discussion before starting the work.
I've created a guide for moderators on how to verify the data.
Pre-seed DB:
rails seeder:locations
rails seeder:tags
Depending on the setup, we may have to allow our IP to use Google API here.
Use metabase.com
# Pull for the first time
docker pull metabase/metabase:latest
# Run on port 12345
docker run -d -p 12345:3000 --name metabase metabase/metabase
# See the logs
docker logs -f metabase
# Setup SSH Tunnel
ssh -N -L 5454:localhost:5432 deployer@petakopi
# Add database
psql -U petakopi -h localhost -p 5454 -d petakopi
# Get the password
tomo env:show
Helpul commands:
tomo env:set FOO=bar
tomo run -- puma:log -f
tomo petakopi:tasks db:migrate:status
tomo petakopi:tasks report:closed_coffee_shops
This is not how I usually code, just saying 😛