edit-task
Home
Up
Delete
Task Name:
Task Description:
set up account on heroku, deploy app for testing
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">DEPLOY heroku - getting started</h1> <h2>[previously]</h2> <ol> <li><span style="background-color: #ffffff;"><strong>[REFERENCE] </strong></span></li> <ol> <li><span style="background-color: #ffffff;">] # 5218 - <a href="/view/task?id=5218" target="_blank">learn node in windows</a></span></li> <li><span style="background-color: #ffffff;">] # # - <a href="https://devcenter.heroku.com/articles/getting-started-with-nodejs" target="_blank">heroku getting started guide</a> </span></li> </ol> <li><span style="background-color: #ffffff;"><strong>>> [00:00] NEW task IN heroku ( WILL DEPLOY TO heroku TO test app speed) </strong></span></li> <ol> <li><span style="background-color: #ffffff;">] </span></li> </ol> <li><span style="background-color: #ffffff;"><strong>] REGISTER</strong> create new heroku account -</span></li> <ol> <li><span style="background-color: #ffffff;">] added account to registered</span></li> </ol> <li><span style="background-color: #ffffff;"><strong>] INSTALL</strong> (custom) heroku toolbelt ( didnt install git and ssh, already have git)</span></li> <ol> <li><span style="background-color: #ffffff;">*] re: authentication http/https</span></li> </ol> <li><span style="background-color: #ffffff;"><strong>] SETUP</strong> - git clone getting-started-node-js</span></li> <ol> <li><span style="background-color: #ffffff;">] you are cloning the remote repo named 'getting-started-node-js' on your local machine</span></li> </ol> <li><span style="background-color: #ffffff;"><strong>] CD</strong> - </span></li> <ol> <li><span style="background-color: #ffffff;">] "cant find dir, file search, loc = windows\syswow64</span></li> <li><span style="background-color: #ffffff;">] MOVEd dir to users\don\apps-node\getting-started-node-js ( a functioning git repo, )</span></li> </ol> <li><span style="background-color: #ffffff;"><strong>] DEPLOY - "heroku create"</strong></span></li> <ol> <li><span style="background-color: #ffffff;">] 'morning-island-4961' (is a randomly generated app name, you can ALSO specify what to name your app by passing arg to heroku create )</span></li> <li><span style="background-color: #ffffff;">*] git remote heroku added</span></li> </ol> <li><span style="background-color: #ffffff;"><strong>] PUSH SOURCE - "git push heroku master"</strong></span></li> <ol> <li><span style="background-color: #ffffff;">] an app is born </span></li> </ol> <li><span style="background-color: #ffffff;"><strong>] VIEW logs</strong></span></li> <ol> <li><span style="background-color: #ffffff;">] </span></li> </ol> <li><span style="background-color: #ffffff;"><strong>] PROCFILE</strong> - specifies what to </span></li> <ol> <li><span style="background-color: #ffffff;">] file that contains </span></li> <li><span style="background-color: #ffffff;">] specify type of process to run, which command to start your app, - </span></li> <li><span style="background-color: #ffffff;">] EXAMPLE web node server.js</span></li> </ol> <li><span style="background-color: #ffffff;"><strong>] SCALE</strong> your app- </span></li> <ol> <li><span style="background-color: #ffffff;">] explanation of the 'heroku sleep' recharge process, ->] free apps can only "run" for a max of 18 hours a day, </span></li> <li><span style="background-color: #ffffff;">] after 30 minutes of inactive, app will sleep, ] </span></li> <li><span style="background-color: #ffffff;">] your app initially runs on a single web 'dyno' , dyno=lighweight container that runs the command in the PROCFILE</span></li> </ol> <li><span style="background-color: #ffffff;"><strong>] DEPENDANCIES</strong> - </span></li> <li><span style="background-color: #ffffff;">] </span></li> </ol> <h2>[currently]</h2> <ol> <li>] </li> </ol> <h2>[next]</h2> <ol> <li>]</li> </ol>