WebCompany
WebCompany

Reputation: 23

How to run Heroku rails app locally without access to source code

My Heroku app is created and it also runs in my big commerce store but I want to run in locally.

Basically, I want to get all file in local machine from Heroku app.

Please help..

Upvotes: 1

Views: 276

Answers (1)

Md. Farhan Memon
Md. Farhan Memon

Reputation: 6121

Since you have access to git repository, you just need to clone it

git clone GIT_URL

then move into the app root directory

cd my_app

and then do

bundle install

now start the server

rails server

goto localhost:3000 from your browser..

Update

Since you have access to heroku, in the app dashboard goto settings near the bottom page you will find Heroku Git URL, clone that.

In a new empty folder just type this from cmd

git clone https://github.com/bigcommerce/hello-world-app-ruby-sinatra.git

Upvotes: 2

Related Questions