diff --git a/.babelrc b/.babelrc new file mode 100644 index 0000000..fbd6da0 --- /dev/null +++ b/.babelrc @@ -0,0 +1,6 @@ +{ + "presets": [ + "@babel/preset-env", + "@babel/preset-react" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 14d03f0..55c9875 100644 --- a/README.md +++ b/README.md @@ -1,2489 +1,6 @@ -
-
-
-
-
----
-
-### 3. Copy CSV share link for `Prayer times`
-
-
-
----
-
-### 4. Copy CSV share link for `App config`
-
-
-
----
-
-### 5. Copy CSV share link for `Hadith config`
-
-
-
-
-### 6. Add the following ENV variables in the application
-
-| KEY | VALUE |
-| --- | ----- |
-| REACT_APP_PRAYER_DATA_SPREADSHEET_URL | {link_from_step_3} |
-| REACT_APP_APP_CONFIG_SPREADSHEET_URL | {link_from_step_4} |
-| REACT_APP_HADITH_DATA_SPREADSHEET_URL | {link_from_step_5} |
-
-
-
-
----
-### 7. Test the app
-
-**IMPORTANT: Make sure you use CSV**
-
----
-
-## Using Chromium to start browser on load
-
-### How to get chromium on raspberry pi
-https://tutorials-raspberrypi.com/google-chrome-for-raspberry-pi/
-
-**Helpful guides to start on start up:**
-- https://github.com/OpenLabTools/OpenLabTools/wiki/Launching-bash-scripts-at-startup
-- https://linux.tips/tutorials/how-to-auto-start-chromium-in-full-screen-mode-to-a-website-url-on-ubuntu-os
-
-### Raspberry Pi Instructions
-1. Install [chromium-browser](https://www.chromium.org/getting-involved/download-chromium) - **Do this step only if you do not have Chromium**
-2. Open Terminal
-3. type `sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart`
-4. Add the following line at the end of the file
-```
-@chromium-browser --app=https://screen.mosque.tech/ --start-fullscreen
-```
-5. Reboot
-
-
-### Mac script - (with normal chrome browser installed)
-`start-mosque-screen.sh`
-```
-#!/bin/bash
-chrome-debug --app=https://screen.mosque.tech/ --start-fullscreen
-```
-
----
-
-## Screenshots of prototype
-
-
-
-
-
-
-
-
-### Single view mode
-
-
-
-## Branding
-
-### Colours
-
--  `#6156a5`
--  `#a2469a`
-
-
-
-
-
-
-
-
-
-
-
-