<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;p&gt;In this first step we are going to create your basic SproutCore application.  SproutCore comes with a full set of generators that makes this really easy to do.  On your terminal just type (or copy and paste) the following:&lt;/p&gt;
&lt;pre class=&quot;console&quot;&gt;sc-init todos&lt;/pre&gt;
&lt;p&gt;Now you&amp;#8217;ve created a new todos application.  If you open this directory you should see a structure that looks something like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;apps       &amp;lt;- your application is here
Buildfile  &amp;lt;- config file for your project
README     &amp;lt;- fill in with some useful details
public     &amp;lt;- static files not managed by build system
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;In SproutCore, an application is an individual web page that users will load in the web browser.  A SproutCore project can contain as many apps as you want.  Large projects will often have several, but small ones like this one usually only have one.&lt;/p&gt;
&lt;p&gt;The sc-init tool added a starter application for you.  You can find it in the apps/todos directory.  Open this directory and you will find the following files:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;core.js         &amp;lt;- defines app namespace and global constants
english.lproj/  &amp;lt;- all localized resources go here
  loading.rhtml &amp;lt;- html to display while app is loading 
  main_page.js  &amp;lt;- apps main page UI design
  strings.js    &amp;lt;- localized strings
main.js         &amp;lt;- main function, run on page load
&lt;/code&gt;&lt;/pre&gt;
&lt;h2&gt;Testing Your App&lt;/h2&gt;
&lt;p&gt;You&amp;#8217;ve created a basic app.  Let&amp;#8217;s get load it in the browser so that you can try it out.  In your terminal type the following:&lt;/p&gt;
&lt;pre class=&quot;console&quot;&gt;cd todos
sc-server
&lt;/pre&gt;
&lt;p&gt;visit: http://localhost:4020/todos&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Continue to Next Step: [[Step 2: Setup Your Model]] &#187;&lt;/strong&gt;&lt;/p&gt;
&lt;h1&gt;Related Links&lt;/h1&gt;
&lt;p&gt;none yet&lt;/p&gt;
&lt;h1&gt;Comments&lt;/h1&gt;
&lt;p&gt;edit page to add your comments here.&lt;/p&gt;</body>
  <created-at type="datetime">2008-07-27T17:01:32-07:00</created-at>
  <id type="integer">40064</id>
  <permalink>step-1-create-your-sproutcore-application</permalink>
  <repository-id type="integer">37005</repository-id>
  <title>Step 1: Create Your SproutCore Application</title>
  <updated-at type="datetime">2009-05-09T21:59:11-07:00</updated-at>
  <user-id type="integer">157</user-id>
</wiki>
