The toolbox will facilitate the following tasks on a spatially disaggregated level:
- Mapping heating and cooling energy situation including renewable and waste heat potentials in GIS layers,
- Model the energy system, considering hourly matching of supply and demand, demand response etc.,
- Supporting the comprehensive assessment of efficient heating and cooling according to the Energy Efficiency Directive,
- Comparative assessment of supply and demand options and of given scenarios until 2050 regarding e.g. CO2-emissions, costs, share of renewables.
[description]
Get Docker from https://store.docker.com/editions/community/docker-ce-desktop-windows?tab=description
Make sure Hyper-V is enabled.
Get Docker from https://store.docker.com/editions/community/docker-ce-desktop-mac?tab=description
Get Docker Toolbox from https://docs.docker.com/toolbox/overview/#whats-in-the-box
Make sure you have VT-X/AMD-v enabled.
Get Docker from https://store.docker.com/editions/community/docker-ce-server-ubuntu?tab=description
Get the installation procedure from https://www.docker.com/get-docker
Open a terminal (Docker Quickstart Terminal for Docker toolbox).
Check that everything is working by running the following command:
docker-machine ip
This should return the IP of your active Docker machine that we will use later to connect to our web service (e.g. 192.168.99.100).
Change directory to the docker directory on this repository:
cd my-git-directory/docker
Then run ./run-docker-toolbox.sh
That's it! Now the web service should be up and running.
To check that everything is working, open a web browser and enter the IP of the Docker machine we retrieved above, using port 8181: http://{your-docker-machine-ip}:8181
This should display a simple message with Python version.
Now you can put your own code in the "code" directory of this repository. Note that wgsi.py is the entrypoint of your web service.
Open your terminal
Change directory to the docker directory on this repository:
cd my-git-directory/docker
Then run sudo ./run-ubuntu.sh
That's it! Now the web service should be up and running.
To check that everything is working, open a web browser and enter the IP of the Docker machine we retrieved above, using port 8181: http://localhost:8181
This should display a simple message with Python version.
Now you can put your own code in the "code" directory of this repository. Note that wgsi.py is the entrypoint of your web service.
On any other system, just open your terminal where you have access to "docker".
Change directory to the docker directory on this repository:
cd my-git-directory/docker
Then run docker run -d -v "/absolute/path/to/repository/code:/data" -p 8181:80 -it hotmaps/waste-heat-application
To check that everything is working, open a web browser and enter the IP of the Docker machine we retrieved above, using port 8181: http://localhost:8181