Uploading from desktop to Heroku

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Uploading from desktop to Heroku

brainiacsys5
Hey everyone,

It appears I have gotten all the kinks worked out of this webapp. What I would like to do now is upload it to Heroku from my Ubuntu Desktop. Please advise to the steps associated with performing that task and any and all advise in regard to things I should watch out for or be concerned about.

Thank you


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/340cbc5b-f947-4c1a-abfd-a73984670e51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Uploading from desktop to Heroku

Joe Guerra
You should create a github repository and add your code there first.  Then when you create your rails heroku app, just select the repository.   It will pull your files from the repo and build your app online.

On Sat, Feb 23, 2019, 12:22 PM , <[hidden email]> wrote:
Hey everyone,

It appears I have gotten all the kinks worked out of this webapp. What I would like to do now is upload it to Heroku from my Ubuntu Desktop. Please advise to the steps associated with performing that task and any and all advise in regard to things I should watch out for or be concerned about.

Thank you


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/340cbc5b-f947-4c1a-abfd-a73984670e51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAOFgAMkcA3Yrc9v%3Dday4KkqdF6HmPSFoHpG7sm2awsZmASfrqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Uploading from desktop to Heroku

Hassan Schroeder-2
In reply to this post by brainiacsys5
On Sat, Feb 23, 2019 at 9:22 AM <[hidden email]> wrote:

> It appears I have gotten all the kinks worked out of this webapp. What I would like to do now is upload it to Heroku from my Ubuntu Desktop. Please advise to the steps associated with performing that task and any and all advise in regard to things I should watch out for or be concerned about.

Heroku's docs are pretty good -- I'd start here:

https://devcenter.heroku.com/categories/command-line

Good luck!
--
Hassan Schroeder ------------------------ [hidden email]
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBFjVpPATSL_HbVJeJX0PCS86L0TOVZKaGuox4VhcGjzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Uploading from desktop to Heroku

brainiacsys5
In reply to this post by Joe Guerra
Why do I want to create a github first? What is the value in doing so? What if that isn't something i want to do?

On Saturday, February 23, 2019 at 12:52:10 PM UTC-5, Joe Guerra wrote:
You should create a github repository and add your code there first.  Then when you create your rails heroku app, just select the repository.   It will pull your files from the repo and build your app online.

On Sat, Feb 23, 2019, 12:22 PM , <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="-O6E8XstBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">braini...@...> wrote:
Hey everyone,

It appears I have gotten all the kinks worked out of this webapp. What I would like to do now is upload it to Heroku from my Ubuntu Desktop. Please advise to the steps associated with performing that task and any and all advise in regard to things I should watch out for or be concerned about.

Thank you


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="-O6E8XstBgAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonrails-ta...@googlegroups.com.
To post to this group, send email to <a href="javascript:" rel="nofollow" target="_blank" gdf-obfuscated-mailto="-O6E8XstBgAJ" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonra...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/340cbc5b-f947-4c1a-abfd-a73984670e51%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/340cbc5b-f947-4c1a-abfd-a73984670e51%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/340cbc5b-f947-4c1a-abfd-a73984670e51%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/340cbc5b-f947-4c1a-abfd-a73984670e51%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/f184e7ca-1be6-4e77-b247-b97f0555a510%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Uploading from desktop to Heroku

Hassan Schroeder-2
On Sat, Feb 23, 2019 at 10:21 AM <[hidden email]> wrote:
>
> Why do I want to create a github first? What is the value in doing so?

Interaction with Heroku aside,

1. You have your code somewhere besides your local disk as backup
2. It makes your project code accessible if you're switching computers
3. It allows you to easily collaborate with others on your project
4. Github will scan your dependencies and report packages that have
    security updates to be installed

For starters :-)
--
Hassan Schroeder ------------------------ [hidden email]
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCJBx6VbFx2S_r4ivzqXhPmxaWYY7H3GufjuEvew6AMMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Uploading from desktop to Heroku

brainiacsys5
Maybe i should rephrase the question. If I have another online source safe, why should I use github? Is there not a way to go directly from my development machine to uploading to Heroku?

On Saturday, February 23, 2019 at 1:40:27 PM UTC-5, Hassan Schroeder wrote:
On Sat, Feb 23, 2019 at 10:21 AM <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="oxN8ah4wBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">braini...@...> wrote:
>
> Why do I want to create a github first? What is the value in doing so?

Interaction with Heroku aside,

1. You have your code somewhere besides your local disk as backup
2. It makes your project code accessible if you're switching computers
3. It allows you to easily collaborate with others on your project
4. Github will scan your dependencies and report packages that have
    security updates to be installed

For starters :-)
--
Hassan Schroeder ------------------------ <a href="javascript:" target="_blank" gdf-obfuscated-mailto="oxN8ah4wBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">hassan.s...@...
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/31c1096f-bfe4-4dc3-92b7-b1fdd3f73ab6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Uploading from desktop to Heroku

Hassan Schroeder-2
On Sat, Feb 23, 2019 at 10:57 AM <[hidden email]> wrote:
>
> Maybe i should rephrase the question. If I have another online source safe, why should I use github?

Ah, different question.

> Is there not a way to go directly from my development machine to uploading to Heroku?

?? I sent a link to Heroku's docs already -- did you look there?

--
Hassan Schroeder ------------------------ [hidden email]
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBWJqF_VOBzzdm2Je3SPb%2BgufEJCKJQ%3D7UnFN6AzggBwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Uploading from desktop to Heroku

David Merrick
In reply to this post by brainiacsys5
Hi you need to create a git repository. You can upload from git or upload from your local computer.

By using these statements, This works on Linux Mint ad should work on there distros.

You need to log into your heroku account bu using heroku login in the terminal.

Then create your app on Heroku with appname  is created by heroku create 
All terminal commands.

$ rails test
$ heroku login
$  heroku create 
$ git init
$ heroku git:remote -a appname
$ git add .
$ git commit -am "make it better"
$ git push heroku master
$ heroku maintenance:on
$ heroku pg:reset DATABASE
$ heroku run rails db:migrate
$ heroku run rails db:seed
$ heroku maintenance:off
$ heroku restart

Cheers Dave

On Sun, Feb 24, 2019 at 7:57 AM <[hidden email]> wrote:
Maybe i should rephrase the question. If I have another online source safe, why should I use github? Is there not a way to go directly from my development machine to uploading to Heroku?

On Saturday, February 23, 2019 at 1:40:27 PM UTC-5, Hassan Schroeder wrote:
On Sat, Feb 23, 2019 at 10:21 AM <[hidden email]> wrote:
>
> Why do I want to create a github first? What is the value in doing so?

Interaction with Heroku aside,

1. You have your code somewhere besides your local disk as backup
2. It makes your project code accessible if you're switching computers
3. It allows you to easily collaborate with others on your project
4. Github will scan your dependencies and report packages that have
    security updates to be installed

For starters :-)
--
Hassan Schroeder ------------------------ [hidden email]
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/31c1096f-bfe4-4dc3-92b7-b1fdd3f73ab6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Dave Merrick

Daves Web Designs

Website http://www.daveswebdesigns.co.nz

Email [hidden email]

Ph   03 216 2053

Cell 027 3089 169

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2B%3DMcKZMaQ49YegXzy7KLNaiqB8jisVPx%3D7vhSyxt05C45axdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Uploading from desktop to Heroku

brainiacsys5
Thank you David, Hassan and Joe. Your assistance has been greatly appreciated.

On Saturday, February 23, 2019 at 2:07:11 PM UTC-5, David Merrick wrote:
Hi you need to create a git repository. You can upload from git or upload from your local computer.

By using these statements, This works on Linux Mint ad should work on there distros.

You need to log into your heroku account bu using heroku login in the terminal.

Then create your app on Heroku with appname  is created by heroku create 
All terminal commands.

$ rails test
$ heroku login
$  heroku create 
$ git init
$ heroku git:remote -a appname
$ git add .
$ git commit -am "make it better"
$ git push heroku master
$ heroku maintenance:on
$ heroku pg:reset DATABASE
$ heroku run rails db:migrate
$ heroku run rails db:seed
$ heroku maintenance:off
$ heroku restart

Cheers Dave

On Sun, Feb 24, 2019 at 7:57 AM <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="AgA4_ZMxBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">braini...@...> wrote:
Maybe i should rephrase the question. If I have another online source safe, why should I use github? Is there not a way to go directly from my development machine to uploading to Heroku?

On Saturday, February 23, 2019 at 1:40:27 PM UTC-5, Hassan Schroeder wrote:
On Sat, Feb 23, 2019 at 10:21 AM <[hidden email]> wrote:
>
> Why do I want to create a github first? What is the value in doing so?

Interaction with Heroku aside,

1. You have your code somewhere besides your local disk as backup
2. It makes your project code accessible if you're switching computers
3. It allows you to easily collaborate with others on your project
4. Github will scan your dependencies and report packages that have
    security updates to be installed

For starters :-)
--
Hassan Schroeder ------------------------ [hidden email]
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="AgA4_ZMxBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonrails-ta...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="AgA4_ZMxBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">rubyonra...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/rubyonrails-talk/31c1096f-bfe4-4dc3-92b7-b1fdd3f73ab6%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/31c1096f-bfe4-4dc3-92b7-b1fdd3f73ab6%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/rubyonrails-talk/31c1096f-bfe4-4dc3-92b7-b1fdd3f73ab6%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/rubyonrails-talk/31c1096f-bfe4-4dc3-92b7-b1fdd3f73ab6%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.


--
Dave Merrick

Daves Web Designs

Website <a href="http://www.daveswebdesigns.co.nz" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.daveswebdesigns.co.nz\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGm3yB5Eg6LFoQK4gg_gqwLmv-Nyg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.daveswebdesigns.co.nz\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGm3yB5Eg6LFoQK4gg_gqwLmv-Nyg&#39;;return true;">http://www.daveswebdesigns.co.nz

Email <a href="javascript:" target="_blank" gdf-obfuscated-mailto="AgA4_ZMxBgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">merri...@...

Ph   03 216 2053

Cell 027 3089 169

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/516a484b-2277-4877-8f4f-a16f11ed50ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.