Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
/ insights-weather Public archive

A sample application featuring the Weather Company Data for IBM Bluemix service.

License

Notifications You must be signed in to change notification settings

IBM-Cloud/insights-weather

Repository files navigation

Insights for Weather

Build Status

This project provides a user interface to query the Weather Company Data for IBM Bluemix service.

Deploy to Bluemix

Running the app on Bluemix

  1. Create a Bluemix Account

    Sign up for Bluemix, or use an existing account.

  2. Download and install the Cloud-foundry CLI tool

  3. Clone the app to your local environment from your terminal using the following command

git clone https://github.com/IBM-Bluemix/insights-weather.git
  1. cd into this newly created directory

  2. Edit the manifest.yml file and change the <application-name> and <application-host> from insights-weather to something unique.

    applications:
      - services:
        - insights-weather-weatherinsights
        name: insights-weather
        host: insights-weather
        memory: 256M
    

The host you use will determinate your application url initially, e.g. <application-host>.mybluemix.net.

  1. Connect to Bluemix in the command line tool and follow the prompts to log in.

    $ cf api https://api.ng.bluemix.net
    $ cf login
    
  2. Create the Weather Company Data for IBM Bluemix service.

$ cf create-service weatherinsights Free-v2 insights-weather-weatherinsights
  1. Push the application to Bluemix.
$ cf push

And voila! You now have your very own instance running on Bluemix. Navigate to the application url, e.g. <application-host>.mybluemix.net and start querying the Weather service.

Built with

Troubleshooting

To troubleshoot your Bluemix app the main useful source of information is the logs. To see them, run:

$ cf logs <application-name> --recent

This project is a sample application created for the purpose of demonstrating the use of the Weather Company Data for IBM Bluemix service. The program is provided as-is with no warranties of any kind, express or implied.

About

A sample application featuring the Weather Company Data for IBM Bluemix service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published