Skip to content

Installation guide (by rizomaa)

Anthony edited this page Aug 12, 2019 · 7 revisions

Local database

  1. 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
  2. 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
  3. 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
  4. 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.
  5. Change the file webpack.config.babel.js and this src/constants/URLs.js by following appropriate commits are under links.
  6. After use yarn (or npm) to build the project. Use sudo yarn install && sudo yarn start
  7. Go to web-browser and launch the application through https://0.0.0.0:8080/
Clone this wiki locally