Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 1.3 KB

File metadata and controls

67 lines (42 loc) · 1.3 KB

istSOS4

Clone the istSOS4repository

git clone https://github.com/istSOS/istSOS4.git

Environment setup

Before starting any environment, copy the example env file and fill in your values:

cp .env.example .env

At minimum set SECRET_KEY (required for authentication) and the Postgres/admin passwords before running the stack. All other variables default to sensible development values.

Start DEV environment

To start the Docker services, run:

docker compose -f dev_docker-compose.yml up -d

To switch off the services:

docker compose -f dev_docker-compose.yml down

To remove all images and volumes:

docker compose -f dev_docker-compose.yml down -v --rmi local

Start EDU environment for tutorial and learning

docker compose -f edu_docker-compose.yml up -d

To switch off the services:

docker compose -f edu_docker-compose.yml down

To remove all images and volumes:

docker compose -f edu_docker-compose.yml down -v --rmi local

Use Sensor Things APIs

Access the SensorThings API at: http://127.0.0.1:8018/istsos4/v1.1

Reference

For more information about the database and how populate it with synthetic data, refer to the Database Documentation