Chapter 2. Starting a New Project with Wigwam

Table of Contents
Starting a New Project
Checking out a New Project

Starting a New Project

Starting a new project is now quite easy, since wigwam-bootstrap will know to download packages from wigwam's package archive.

  1. Get the latest wigwam-bootstrap from the wigwam-base download area, and run it to make a skeletal Wigwam project as follows:
                  wigwam-bootstrap --project=project_name\
                                   --package-archive=archive-URL
              
    The wigwam-bootstrap program is in the CVS project wigwam-base, in the directory bootstrap/.

    Note

    You can use the --initialize option to install packages you know in advance you are going to need.

  2. Switch into the newly created project directory:
                  cd project_name
              

  3. Use the cvs import command to check your newly created project into CVS.

    wigwam-bootstrap produces all needed .cvsignore files, so that
                    cvs import project_name wigwam init
              
    should work to correctly import the project.

    Note

    Of course you'll have to have the CVS repository configured properly, either with CVSROOT pointed to it, or with -d. If you are connecting to a remote CVS server with ssh, make sure to set CVS_RSH to ssh.

  4. Delete the version of the project which you just imported. It is useless, because it has no CVS control directories, so you cannot use cvs commit in it.

  5. Checkout a fresh version of your project:
                    cvs checkout project_name
              

  6. cd into the newly-created project directory and run ./autogen.sh in the checked-out copy of your project -- this will cause your ./ext directory to be rebuilt and the necessary packages to be downloaded and installed.

  7. Next type
                    . ./setup-env
          
    to set up your path.

  8. Install any services that you'll want running. Use packagectl to install the relevant service. All the service packages begin with service_, for example, service_static_apache, service_mysqld, etc..