mygulamali / mumineen_calendar_js

A Hijri calendar for Dawoodi Bohra Shia Muslims (again).
https://www.mumineencalendar.com
MIT License
22 stars 18 forks source link

Mumineen Calendar

Introduction

Mumineen Calendar is a Hijri calendar for Dawoodi Bohra Shia Muslims who follow the 53rd Dai al-Mutlaq, His Holiness, [Syedna Aale Qadr Mufaddal Saifuddin] (TUS). It provides the user with the Hijri date, Gregorian date for any day of the calendar year.

This version is primarily written in JavaScript using React and Middleman. It supercedes the Ruby on Rails version I wrote some time ago.

Setup

git clone git@github.com:mygulamali/mumineen_calendar_js
cd mumineen_calendar_js
bundle install
cp .env.example .env
cd source/assets/stylesheets
bundle exec bourbon install
bundle exec neat install

Then complete the variables in the .env file for you environment. The current values can be found in the Build & deploy section under the Site settings tab for the website, on Netlify.

Serve on your localhost

bundle exec middleman

Then visit http://localhost:4567 to see the site in action.

Deploy to your web server

bundle exec middleman deploy

This command will automagically commit the built website to the correct branch of this repo for your static site server (i.e. GitHub Pages or Netlify) to serve.

Testing

After starting the local server (see above), visit http://localhost:4567/jasmine to run the Jasmine specs.

License

This software is released under the terms and conditions of The MIT License. Please see the LICENSE.txt file for more details.