This project creates an interactive visualization of an ocean wave field given various parameters and the corresponding wave spectrum using a Flask API and REACT frontend. The API and frontend are dockerized and can be run using docker-compose.
-
install docker and docker-compose
-
install node
- Pull project from github.
git clone https://github.com/isjxique/wave_project
- Go to the main project folder (contains the docker-compose.yml file) and enter the following into the terminal to build the docker images:
docker-compose build
- Go to the main project folder (contains the docker-compose.yml file) and enter the following into the terminal to run the docker images:
docker-compose up
- The web and api services should be publishing information in the terminal.
Copy the url such as http://localhost:5000 printed by the web service to view interactive plots.
- Enter the following into the terminal to shutdown the services:
docker-compose down