jraph
is a basic directed graph data model.
j2k
is a module which outputs jraph
data as a kml
file.
ndev
contains shell commands and most config variables at the top../ndev
without args will list available ndev functions- the repo directory is shared with
/root/jraph
in both the local and prod instances - assume everything is going to be run from
/root
, in other words, write as if you were always going to run from../
.env
is for passwords,.env.EXAMPLE
is for.git
cp .env.EXAMPLE .env
# enter values into .env
./ndev build # build the service
./ndev loc.start.server # start the sql server
./ndev loc.start # start the jraph service
./ndev loc # open a shell in the service container
- Deployed to Digital Ocean
- See
./ndev doc.*
commands - Currently deployed to
jraph.nathanielhtaylor.com
Jraph runs as a systemctl service named jraph-app.service
.
To initialize or reinitialize the service, do the following:
1.cp devops/jraph-app.service /usr/lib/systemd/system
.
1.systemctl daemon-reload
1.systemctl start jraph-app.service
1.systemctl status jraph-app.service
- Run
$ python3 -m jtool.init.csv_*.py
in order. - Run
$ python3 -m jtool.init.db_*.py
in order.