Weather application using api.darksky.net API
- Create account on heroku and install heroku on ubuntu :
sudo snap install --classic heroku
heroku --version
- Login from shell and run the command follow the instructions
heroku login
- assuming you have creates ssh key:
ls -a -l ~/.ssh
- add ssh key to heroku
heroku keys:add
- Create application from project directory with terminal
heroku create
heroku create pramodk-weather-application
- After creating porject will get two urls:
example:
https://pramodk-weather-application.herokuapp.com/ | https://git.heroku.com/pramodk-weather-application.git
- Push the code :
I) git remote
heroku
origin
II) git push heroku master
III) After deployment will get deployed url like: