Creating an SDK App
     In Cloud9!
GitHub
•   Go to https://github.com and create or login to a
    github account
Fork AppTemplate
•   open https://github.com/RallyApps/AppTemplate




•   click "Fork"
•   If asked, choose to fork to your github account
Cloud9 Login
•   Go to: https://c9.io
•   Click on the github icon to log in with your
    github account
Clone the AppTemplate Repo
1. Click AppTemplate
2. Click CLONE TO EDIT




                         2



                   1
Clone the AppTemplate Repo (alt.)
Click Create
Create a new app with Rake
•   In the Cloud 9 console, run (go to view > console and click if not
    checked)
              1. rake new["MyApp","2.0p4","hackathon.rallydev.com"]
              2. rake




1
2
    Click on AppTemplate to expand. You should see the App project files:
    •App.js - your app's main source file
    •App-debug.html - for running the app in development
    •deploy > App.html - for deploying your app to a Rally panel
Refresh Project Files
    1. Right click 'apptemplate'
    2. Click 'Refresh'


1


               2
Edit App.js
Make any changes to your app and save...
Open Your App!
  •   Open App-Debug.html
  •   Click Preview
Don't forget to commit!
And if things go wrong...
•   Refresh the page!
    o   Cmd+R
    o   F5

Editing an app cloud 9

  • 1.
    Creating an SDKApp In Cloud9!
  • 2.
    GitHub • Go to https://github.com and create or login to a github account
  • 3.
    Fork AppTemplate • open https://github.com/RallyApps/AppTemplate • click "Fork" • If asked, choose to fork to your github account
  • 4.
    Cloud9 Login • Go to: https://c9.io • Click on the github icon to log in with your github account
  • 5.
    Clone the AppTemplateRepo 1. Click AppTemplate 2. Click CLONE TO EDIT 2 1
  • 6.
    Clone the AppTemplateRepo (alt.) Click Create
  • 7.
    Create a newapp with Rake • In the Cloud 9 console, run (go to view > console and click if not checked) 1. rake new["MyApp","2.0p4","hackathon.rallydev.com"] 2. rake 1 2 Click on AppTemplate to expand. You should see the App project files: •App.js - your app's main source file •App-debug.html - for running the app in development •deploy > App.html - for deploying your app to a Rally panel
  • 8.
    Refresh Project Files 1. Right click 'apptemplate' 2. Click 'Refresh' 1 2
  • 9.
    Edit App.js Make anychanges to your app and save...
  • 10.
    Open Your App! • Open App-Debug.html • Click Preview
  • 11.
  • 12.
    And if thingsgo wrong... • Refresh the page! o Cmd+R o F5