Index: openacs-4/packages/acs-core-docs/www/tutorial-newpackage.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-newpackage.adp,v diff -u -r1.1.2.10 -r1.1.2.11 --- openacs-4/packages/acs-core-docs/www/tutorial-newpackage.adp 21 Jun 2016 07:44:36 -0000 1.1.2.10 +++ openacs-4/packages/acs-core-docs/www/tutorial-newpackage.adp 23 Jun 2016 08:32:46 -0000 1.1.2.11 @@ -30,21 +30,21 @@ setting up database tables and procedures, writing web pages, debugging, and automatic regression testing.

This tutorial uses the content repository package. This radically simplifies the database work, but forces us to work -around the content repository's limitations, including an -incomplete Tcl API. So the tutorial is messier than we'd like right -now. Code that is temporary hackage is clearly marked.

In this tutorial, we will make an application package for +around the content repository's limitations, including an +incomplete Tcl API. So the tutorial is messier than we'd like +right now. Code that is temporary hackage is clearly marked.

In this tutorial, we will make an application package for displaying a list of text notes.

Before you begin

You will need:

-

Figure 9.1. Assumptions -in this section

+

Figure 9.1. Assumptions in this +section

@@ -74,8 +74,8 @@ .

  • Click Create a New Package.

    Fill in the fields listed below. Ignore the rest (and leave the check boxes -alone). (Some will change automatically. Don't mess -with those.)

    @@ -110,13 +110,13 @@ URL requests and an instance of the application. (More on applications and nodes)

    You can have instances of a package on one site, each with a different URL and different permissions, all sharing the same code -and tables. This requires that a package be developed package-aware. You'll see how to do that -in this tutorial.

      +and tables. This requires that a package be developed package-aware. You'll see how to do +that in this tutorial.

      1. Browse to http://yourserver.test:8000/admin/applications/application-add/ -.

      2. Choose "My First Package" from the list and click OK (the other -fields are optional).

      3. -

      By mounting the package, we've caused all requests to +.

    1. Choose "My First Package" from the list and click OK +(the other fields are optional).

    2. +

    By mounting the package, we've caused all requests to http://yourserver.test:8000/myfirstpackage to be satisfied from the files at /var/lib/aolserver/$OPENACS_SERVICE_NAME/packages/myfirstpackage/www.