Skip to content

Commit

Permalink
update READMEs and bootstrap script
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed Jun 19, 2018
1 parent b628d59 commit 2fe87b9
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This repository contains sources and documentation for
* raw sensor data processing (validation, calibration, aggregation, ETL)
* unlocking sensor data as Open Data via standardized (OGC) web-APIs (WMS, WFS, SOS, SensorThings API)

**Home page** for this Data Platform is: http://data.smartemission.nl
**Home page** for the SE Data Platform is: http://data.smartemission.nl

The SE Data Platform originates from the **Smart Emission Nijmegen project** (2015+).
The landing page for that project is http://smartemission.nl.
Expand Down
9 changes: 9 additions & 0 deletions apps/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Smart Emission Applications (Apps)

Each directory below provides a ``run`` script and config to run
Docker containers for the SE Apps.
[ETL processing](../etl/README.md) and [services](../services/README.md) have their own directories.

## Links

* SE Platform doc: http://smartplatform.readthedocs.io/en/latest/
8 changes: 6 additions & 2 deletions platform/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ systemctl status docker
# apt-get install -y python-pip libyaml-dev libpython2.7-dev git emacs24-nox apache2-utils apt-show-versions sqlite3 postgresql-client-9.4
apt-get install -y git emacs24-nox
apt-get install -y python-pip libyaml-dev libpython2.7-dev postgresql-client-common
apt-get install -y apt-show-versions sqlite3
apt-get install -y apt-show-versions sqlite3

# apache2-utils??

Expand All @@ -61,9 +61,13 @@ git clone https://github.com/smartemission/smartemission.git /opt/geonovum/smart
# Mount disk Azure
# https://docs.microsoft.com/en-us/azure/virtual-machines/linux/add-disk

# Create all database schemas
./init-databases.sh

echo "READY: now run to build and run SE Data Platform"
# Install system service "smartem"
./install.sh

echo "READY: now do 'service smartem run' to start SE Data Platform"

# OLD STUFF
# Need 9.4 version of PG client, not in Ubuntu 14.4, so get from PG Repo
Expand Down
22 changes: 0 additions & 22 deletions platform/build.sh

This file was deleted.

5 changes: 3 additions & 2 deletions services/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Smart Emission Services

Each directory below provides a ``run`` script and config to run
Docker containers for the SE services. ETL processing has its own directory.
Docker containers for the SE services. [ETL processing](../etl/README.md) and [apps](../apps/README.md) have
their own directories.

## Architecture

The image below shows the Docker deployment architecture: how all containers
link together. NB it is also possible to run just a subset of these containers.
For example just InfluxDB and Grafana.

![docker arch](smartem-docker-s.jpg "SE Docker Deployment")
![docker arch](docker-deploy.jpg "SE Docker Deployment")

## Links

Expand Down
Binary file added services/docker-deploy.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed services/smartem-docker-s.jpg
Binary file not shown.

0 comments on commit 2fe87b9

Please sign in to comment.