Skip to content

andresalbab/web-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web-server for weather application

Setting up SSH Keys for Git and Heroku

  1. Check if there are SSH keys created
ls -a -l ~/.ssh
  1. If there are no files or the folder doesn't exists, a SSH key should be created. If there's a key created, go to Step #4.
ssh-keygen -t rsa -b 4096 -C "{email}"

Hit enter to set all default values

  1. Set the SSH so that it can be used for any new SSH connection
eval "$(ssh-agent -s)"
ssh-add -K ~/.ssh/id_rsa
  1. Add the SSH key to Git using the Web Application by adding a given title and pasting the contents of the key. To copy the key contents to the clipboard use the following command:
pbcopy < ~/.ssh/id_rsa.pub
  1. Finally, test the SSH connection
ssh -T git@github.com
  1. To add the SSH key to heroku use the following command:
heroku keys:add

Heroku deployment process

  1. Log in to Heroku account
heroku login
  1. Create the application running the following command on the root folder:
heroku create {proyect-name}
  1. Push changes to heroku remote branch (created automatically in the previous step)
git push heroku master

About

Web server for weather app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages