This repository has been archived by the owner on Sep 28, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yohei Sasaki
committed
May 22, 2011
1 parent
aae0c31
commit 80db802
Showing
9 changed files
with
61 additions
and
141 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ Application Development Guide | |
|
||
getting_started | ||
architecture | ||
tutorial/index | ||
tips/index | ||
ref/index | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Application Development Tutorial | ||
----------------------------------- | ||
|
||
This capter shows you how to develop your application running on sunrise step by step. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
introduction | ||
helloworld | ||
db_access | ||
design_doc | ||
helper | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
Introduction | ||
-------------------------------------------------------------------------------- | ||
|
||
What is an application? | ||
================================================================================ | ||
|
||
An **application** in Sunrise is: | ||
|
||
- A design document for CouchDB | ||
|
||
- a static file collection attached on the design document. | ||
|
||
- A middleware for Express/Connect | ||
|
||
And an application is installed on a specified path in the site. It provides http based services and it can also provides helper functions for other applications. | ||
|
||
|
||
Overview of application development | ||
================================================================================ | ||
|
||
1. Create a template site (for application testing) | ||
2. Create your application from the template | ||
3. Modify scripts | ||
4. Test with installing on the site. | ||
5. Publish your application. | ||
|
||
This chapter shows brief introduction for these steps. | ||
|
||
|
||
Create a template site. | ||
------------------------------------------------------------------------------- | ||
|
||
At first, you need to a container site for your application to be installed for testing. As described at :doc:`../getting_started`, use ``sunrise:create`` command. | ||
|
||
:: | ||
|
||
$ sunrise\:create -s sunrise-site | ||
|
||
|
||
Then your site directory is as follows. | ||
|
||
:: | ||
|
||
|