-
Notifications
You must be signed in to change notification settings - Fork 21
Installation guide (by rizomaa)
Anthony edited this page Aug 12, 2019
·
7 revisions
- Get last changes from repo
sudo git clone https://github.com/diglabby/mapa.git <project-name>
(we should define branch we use for development)<project-name>
- name future folder as you wish - Deploy last version OpenfairDB. Download the version and unpack it in
<project-name>
directory https://github.com/slowtec/openfairdb/releases/download/v0.5.5/openfairdb_v0.5.5.x86_64-unknown-linux-musl.tar.xz - Seed some content to the DB by getting the file from the archive https://github.com/flosse/openfairdb/files/2511314/openfair.db.zip and unpack it in
<project-name>
directory - Launch OpenfairDB
RUST_LOG=info ROCKET_PORT=6767 DATABASE_URL=openfair.db ./openfairdb
from<project-name>
directory. be sure openfair.db and openfairdb files should be in the<project-name>
directory. - Change the file
webpack.config.babel.js
and thissrc/constants/URLs.js
by following appropriate commits are under links. - After use
yarn
(ornpm
) to build the project. Usesudo yarn install && sudo yarn start
- Go to web-browser and launch the application through https://0.0.0.0:8080/