-
Checkout the
kyrixj
branch of the kyrix repo:git checkout kyrixj
-
Use this command to start the Kyrix docker containers (using port 5433 is important):
sudo ./run-kyrix.sh --build --dbport 5433
-
Load
mondial.sql
into kyrix db (usingload-sql.sh
provided by Kyrix):sudo ./docker-scripts/load-sql.sh <path to mondial.sql>
-
Now, go to the Kyrix-J repo. Replace the IP address in this line with your own ip address. This ip can also be
localhost
if client and server are both on your own machine. -
Set env variable
KYRIXJ_PROJECT
tomondial
:export KYRIXJ_PROJECT=mondial
Or to do it permanently you can add it as one line in
~/.bashrc
-
Install latest node and npm, and run
npm i
under three folders:authoring/
,client/
andclient/auto-complete
-
Make a new directory for the auto-generated Kyrix app, and copy the Kyrix compile script into it:
mkdir authoring/apps/mondial/output/ cp ../Kyrix/docker-scripts/compile.sh authoring/apps/mondial/output/compile.sh cd authoring/apps/mondial/output/ && chmod +x compile.sh
-
Under
authoring
, runnpm start
. This will generate a Kyrix app, load it into the kyrix backend and also generate some metadata stuff for the frontend. -
Under
client/auto-complete
, runnpm start
. This is the Kyrix-J middleware (backend) used only for search queries under dev mode. In prod mode, this will also serve the React production build. -
Under
client/
, runnpm start
to start the frontend. -
Go to
<ip>:3000
to see the app.
-
Notifications
You must be signed in to change notification settings - Fork 0
tracyhenry/Kyrix-J
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published