/weather_cast_angle

App of provide comprehensive information on tide levels, wind, weather, and more to help a fishing plan.

Primary LanguageElixir

WeatherCastAngle

elixir ci workflow docker build workflow

Overview

This app is specifically designed to provide comprehensive information on tide levels, wind, weather, and more to help a fishing plan. 🐟

Features

  • Screenshot during development;

    screenshot_during_development
  • The information provided by this application;

    • Tide graph
    • Weather
    • Wind speed
    • Temperature
    • Moon age
    • Humidity
    • Seawater temperature
    • Sunrise and Sunset time

Source

Disclaimer

  • This repository and application are designed for personal use only.
  • The use of this app is at your own risk. We assume no liability for any outcomes resulting from its use.

Development information

Pre-required

Can build the Docker image and launch the application using the following commands:

  • Prepare .env file and set OpenWeather API key (required)
cp .env.sample .env
  • Run mix git_hooks.install to prepare local development

  • Run mix setup to install and setup dependencies

Start this application using docker container

To start the Phoenix server,

  • Build the application container
docker build -t weather_cast_angle .
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server using docker;
docker run --rm -p 4000:4000 \
-v $(pwd):/app \
-e OPEN_WEATHER_API_KEY=$(cat .env | grep OPEN_WEATHER_API_KEY | cut -d '=' -f2) \
--name weather_cast_angle \
weather_cast_angle
  • If want to run iex -S mix;

    docker exec -it weather_cast_angle iex -S mix

Official References

Ready to run in production? Please check our deployment guides.