Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • A api
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • ironapi
  • api
  • Wiki
  • Dev
  • Testserver

Last edited by Andrea Pavlovic May 25, 2021
Page history

Testserver

Our current testserver is dev.ironapi.io (46.101.130.36).

http://dev.ironapi.io

On port 3000, we currently have the bmw setup with some random data.

Docker

This is how the gateway with the gui is started:

root@dev:~/bmw-migration# docker-compose -f docker-compose-dev.yaml up -d
root@dev:~# docker ps -a
CONTAINER ID        IMAGE                     COMMAND                  CREATED             STATUS              PORTS                NAMES
5c1d85d01383        ironapi/ironapi-gw:1.0    "script/run.sh"          8 minutes ago       Up 8 minutes        0.0.0.0:80->80/tcp   migration_tool_gw
887656347a06        ironapi/ironapi-db:10.1   "/docker-entrypoin..."   8 minutes ago       Up 8 minutes        5432/tcp             migration_tool_db

It should not be necessary to get new docker images - the gateway and gui code are mounted into the gateway container.

Logs

To look at the logs:

root@dev:~/bmw-migration# docker-compose logs -f

Database

The database port is not exposed, to log into it use

docker exec -it migration_tool_db psql migration_tool postgres

Code updates

The gateway (/root/ironapi-gw) and gui (/root/ironapi-gui) are mounted into the container, so to do an update for either, a git pull will do the trick.

root@dev:~/ironapi-gui# git pull
root@dev:~/ironapi-gw# git pull
Clone repository
  • API
    • Available Endpoints
    • Changing Passwords
    • Form Input Types
    • Introduction
    • Logout
    • Plugins
    • Queries
    • Queries
      • Attributes
      • Context
      • Query Examples
      • Query Search Options
      • Referenced Instances
      • Saved Queries
    • Schema_Changes
    • Storing Files
View All Pages