• Operand
  • no leg, a'sea.

gram: pain

Clone using:

mkdir ~/src; cd ~/src
wget -O - 'https://share.operand.online/gram/pain/?download=tar_gz' | tar -xzv
cd ./pain; git checkout main

Pain

Booking application replacing Acuity Scheduler, for <painawayofphilly.com>.

Scheduling Credentials

You'll need a couple environment variables so our app can book inside your acuity calendars. Locally, these can go inside a file called .env:

# .env
SCHEDULE_USER="12345678"
SCHEDULE_KEY="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

Launch

Deploy your app:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

You should see a booking page on localhost:4000. Deploy this app using Dokku.

Learn more

  • A more proper-Elixir deployment is described in deployment guides.
  • Official website: https://www.phoenixframework.org/
  • Guides: https://hexdocs.pm/phoenix/overview.html
  • Docs: https://hexdocs.pm/phoenix
  • Forum: https://elixirforum.com/c/phoenix-forum
  • Source: https://github.com/phoenixframework/phoenix