-
Clone this repository.
-
Copy the next environment variables in a .env file:
DATABASE_HOST=postgres
DATABASE_USERNAME=postgres
DATABASE_PASSWORD=postgres
WEATHER_API_KEY=0eebd1fcf852d29ca0340c5c451d4c9a
-
Open Docker and run the following command in the terminal:
- If you don't have installed Docker, you can download it from here its free.
docker-compose up
*Wait until the server is running. You will see a message like this:
=> Booting Puma => Rails 7.1.3.2 application starting in development => Run `bin/rails server --help` for more startup options Puma starting in single mode... * Puma version: 6.4.2 (ruby 3.2.2-p53) ("The Eagle of Durango") * Min threads: 5 * Max threads: 5 * Environment: development * PID: 1 * Listening on http://0.0.0.0:3000 Use Ctrl-C to stop
-
Open your browser and go to http://localhost:3000/search
-
You can search for a city and see the weather forecast for the next 5 days.
-
Notifications
You must be signed in to change notification settings - Fork 0
er-contreras/weather_forecast
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Forecast for the destinations available
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published