Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

ontola/apex-rs

Repository files navigation

Apex RS Logo

All Programs EXecute Rdf Source

Getting started

  1. Copy and fill .env.template to .env.
  2. When using SSL with postgres 2. Download and rename database SSL certificates to certs folder, see Dockerfile. 3. Change the cert permissions chmod -R 700 certs
  3. Run cargo run --bin migrate -- --version setup to initialize the db.
  4. Add a record to _apex_config with key "seed" and a random 32 bit integer string value

Building the project manually

  • cargo build Building the project via docker
  • DOCKER_BUILDKIT=1 docker build . -t apex-rs:latest

Running the project manually

  • cargo run . --bin server
  • cargo run . --bin importer

Running the project via docker

  • docker run -t apex-rs:latest /usr/local/bin/server (default without arg)
  • docker run -t apex-rs:latest /usr/local/bin/importer

osx

For compiling

brew install autoconf automake cmake libtool openssl

git clone https://github.com/cyrusimap/cyrus-sasl.git && cd cyrus-sasl
sh ./autogen.sh
make
sudo make install

OPENSSL_ROOT_DIR=/usr/local/opt/openssl cargo run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages