Skip to content

Really Simple app that calculates tithe amounts based on salary inputs

Notifications You must be signed in to change notification settings

KTSCode/salculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salculator

Really Simple app that calculates tithe amounts based on salary inputs

Salculator

Development Setup

Prerequisites

Instructions

  1. Install fswatch (if not already installed):

    brew install fswatch
  2. Start Tailwind CSS in watch mode: Run the following command to watch for changes in the src/tailwind.css file and update the main.css file:

    ./tailwindcss -i ./src/tailwind.css -o ./main.css --watch
  3. Start Elm in watch mode: Run the following command to watch for changes in the src/Main.elm file and recompile it to main.js:

    fswatch -o src/Main.elm | xargs -n1 -I{} elm make src/Main.elm --output=main.js
  4. Open index.html: After running the above commands, open index.html to see the changes:

    open index.html

These commands will ensure that your CSS and Elm files are watched for changes, and the respective output files are updated automatically.

Deployment

Compile the Elm code to HTML and JS

elm make src/Main.elm --optimize --output=main.js
./tailwindcss -i ./src/tailwind.css -o ./main.css

About

Really Simple app that calculates tithe amounts based on salary inputs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published