This project aims to provide an application that links topics to references in the Quran and Hadith. It, aims, to use APIs provided by other services to link to the texts, (WIP).
It uses an internal Graph database to link the topics to the text.
Note
|
Should probably replace with a script. There is already a service in the compose to run the server. Should try to use it. |
-
Copy and update
.secrets.env.rename
-
Copy it to
.secrets.env
and populate the missing fields
-
-
Source
.env
and.secrets.env
. NOTE: Probably want to write a script to automatically source the files. -
Run the database
-
From
db/docker
rundocker compose up arango [-d]
. -
Add the
-d
option to run in the background.
-
-
Run the application:
-
From inside the
server
directory runcargo run [-- -d]
. -
The
-- -d
is to add thedev
flag. Does nothing currently. Should enable better logs. NOTE: This is seperate from the dev profile.
-