2022-11-02 02:46:02 +01:00
|
|
|
## About
|
|
|
|
|
2023-02-21 01:03:43 +01:00
|
|
|
A static website for reading The Quran.
|
2022-11-19 22:46:28 +01:00
|
|
|
<br>
|
2023-02-21 01:03:43 +01:00
|
|
|
Built with a static website compiler / static website generator.
|
|
|
|
<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
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2023-01-04 03:04:37 +01:00
|
|
|
## Run the website
|
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
|
|
|
|
|
2023-02-21 01:03:43 +01:00
|
|
|
[BSD Zero Clause](https://choosealicense.com/licenses/0bsd/).
|
|
|
|
<br>
|
|
|
|
See [LICENSE](./LICENSE).
|
|
|
|
|