Calendaring app for shift-workers to enter their uneven work schedule more easily
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Adam Piontek ba5957cc93 remove sample dockerfile & entrypoint as they're now included in the repo 2 months ago
assets npm update, remove runtime.exs as not using for now 2 months ago
config npm update, remove runtime.exs as not using for now 2 months ago
lib don't gzip static files, and always commit them 2 months ago
priv don't gzip static files, and always commit them 2 months ago
test updated Bamboo references to Swoosh; added runtime.exs config file 2 months ago
.formatter.exs Create phoenix project 2 years ago
.gitignore don't gzip static files, and always commit them 2 months ago
.iex.exs month & shift navigation progress 2 years ago
Dockerfile added Dockerfile and entrypoint script 2 months ago
README.md remove sample dockerfile & entrypoint as they're now included in the repo 2 months ago
entrypoint.sh added Dockerfile and entrypoint script 2 months ago
mix.exs updated deps & switched from Mix.Config to Config 2 months ago
mix.lock updated deps & switched from Mix.Config to Config 2 months ago

README.md

Shift73k

Calendaring app for shift-worker shift tracking, with support for CSV export and sharing work schedule with others.

Written in Elixir & Phoenix LiveView, with Bootstrap v5.

TODO

  • Proper modal to delete shifts? [2022-08-14]
  • move runtime config out of compile-time config files, to move towards supporting releases
    • probably need to use def get_app_config style functions instead of @module_var module variables, (see this)
  • Update tests, which are probably all way out of date. But I also don't care that much for this project...

Deploying

I'm using a dumb & simple docker approach to deploying this now. Nothing automated, the basic steps are:

  1. ensure latest assets are built, digested, and committed to the repo

    # rebuild static assets:
    rm -rf ./priv/static/*
    npm --prefix assets run build
    MIX_ENV=prod mix phx.digest
    # then do a new commit and push...
    
  2. on server, build a new container, and run it