First create a repository in github then create in your host after that backup your app finally deply in heroku