First make sure you have created your Gemfile and config.ru
Gemfile should contain something like:
source "http://rubygems.org" gem 'sinatra' group :development do gem 'pry' end
config.ru should have something like:
require './main.rb' run Sinatra::Application
You also need to set up a whole new git repository for the folder that you are trying to add to heroku.
before you do anything else - make sure that in terminal you are in the folder with your project and enter the command 'bundle'
- git status
- git init
- git status
- git add .
- git commit -m "commit message"
- you can then 'git push origin master' to setup the git repository OR
to get Heroku moving:
- heroku create
- git push heroku master
finally: heroku open
this will open up your project in a browser window!!