Installing GridAPPS-D¶
GridAPPS-D is available using docker containers
Requirements¶
- git
- docker version 17.12 or higher
- docker-compose version 1.16.1 or higher
Clone or download the repository¶
git clone https://github.com/GRIDAPPSD/gridappsd-docker
cd gridappsd-docker
Install Docker on Ubuntu¶
- run the docker-ce installation script
./docker_install_ubuntu.sh
- log out of your Ubuntu session and log back in to make the docker groups change active
Start the docker container services¶
./run.sh
- The run.sh does the following
- download the mysql dump file
- download the blazegraph data
- start the docker containers
- ingest the blazegraph data
- connect to the gridappsd container
Start gridappsd¶
Now we are inside the executing container
root@737c30c82df7:/gridappsd# ./run-docker.sh
Open your browser to http://localhost:8080/
Exiting the container and stopping the containers¶
Use Ctrl+C to stop gridappsd from running
exit
./stop.sh
Restarting the containers¶
./run.sh
Reconnecting to the running gridappsd container
user@foo>docker exec -it gridappsddocker_gridappsd_1 bash