al-quran.reflectslight.io/README.md

52 lines
1 KiB
Markdown
Raw Normal View History

2022-11-02 02:46:02 +01:00
## About
2022-11-19 22:48:28 +01:00
This repository contains the source code for a static website that can be
2022-11-19 22:46:28 +01:00
used to read The Qur'an.
<br>
The website can be seen live at
2022-11-02 02:46:02 +01:00
[https://al-quran.reflectslight.io](https://al-quran.reflectslight.io).
## Build the website
The main components of the website's stack are:
- Ruby v3.1.2+
- NodeJS v16.16.0+
- TypeScript
- React
Both Ruby, and NodeJS are left to the reader to install. <br>
After installing Ruby, and NodeJS the website's dependencies can be installed:
```
$ ruby -S gem install bundler --no-document
$ ruby -S bundle install
$ npm i
```
2022-11-19 22:44:39 +01:00
After the dependencies have been installed, the website can be built. <br>
2022-11-19 22:46:28 +01:00
The build will generate the `./build/al-quran` directory:
2022-11-02 02:46:02 +01:00
```
$ ruby -S rake build
```
2022-11-19 22:44:39 +01:00
## Run the website locally
2022-11-02 02:46:02 +01:00
2022-11-19 22:44:39 +01:00
The website can be run on `http://localhost:3000` with the following command:
2022-11-02 02:46:02 +01:00
```
$ ruby -S rake server
```
2022-11-18 01:21:30 +01:00
## Authors
* Gyen Abu Bakar [@gyenabubakar](https://github.com/gyenabubakar)
* 0x1eef [@0x1eef](https://github.com/0x1eef)
2022-11-02 02:46:02 +01:00
## License
This software is released into the Public Domain.