p_create



NAME

      project create - create a new project


SYNOPSIS

      project create [-f] [project] ["project description"]
      [project_manager_userid] ["project_manager_name"] [project_directory]


DESCRIPTION

      The project create command creates a new project named project.  To
      create a new project means the following:

      *  Create a directory named project.

      *  Create the directories: members, tools, systems, doc and info in
         this directory.

      *  Define the project manager as a member of the project.

      *  Create the file startup in the tools directory.  The project
         manager can modify this file and use it to include in it some
         definitions which can be used by project members.  This file is
         executed when the project is setup.

      *  Create the file overview in the info directory and add the
         following information:
                            project.name:
                            project.description:
                            project.manager.name:
                            project.manager.userid:

      *  Add a link in the directory /ipa/projects named project to point to
         the newly created project directory. Note that /ipa/projects is the
         default dircetory where all projects are specified. The environment
         variable SDE_PROJECTS overrides the default value.

    PARAMETERS
      project
           Project name

      project description
           One line project description

      project_manager_userid
           Userid of the project manager.  The manager can add and remove
           project members, add and remove systems, terminate and delete the
           project.

      project_manager_name
           Project manager full name. The default value is taken from the
           /etc/passwd file.

      project_directory
           The home directory of the project. The default value is the
           project name placed in the root directory of the projects defined
           by the SDE_PROJECTS environment variable.

    OPTIONS
      -f   Executes the command directly without prompting for parameters.


EXAMPLES

      $ project create
      Project name : ex_proj
      Project description : "This is an example of a project"
      Project manager userid (default=icrnkovi) :
      Project manager [First name and last name]
                      (default=Ivica Crnkovic,AUT/KMS,9801) :
      Project directory (default=/ipa/projects/ex_proj) : /aut/km/ex_proj

      Project name       : ex_proj
      Description        : This is an example of a project
      Project manager id : icrnkovi
      Project manager    : Ivica Crnkovic,AUT/KMS,9801
      Project directory  : /aut/km/ex_proj

      Are data correct[y/n/q] (default=y) : y

      Directory /aut/km/ex_proj created
      Directory /aut/km/ex_proj/info is created
      Directory /aut/km/ex_proj/members is created
      Directory /aut/km/ex_proj/doc is created
      Directory /aut/km/ex_proj/tools is created
      Directory /aut/km/ex_proj/systems is created

      File      /aut/km/ex_proj/tools/startup is created
      File      /aut/km/ex_proj/info/overview is created
      Link      /ipa/projects/ex_proj -> /aut/km/ex_proj is created

      Member work directory /aut/km/ex_proj/members/icrnkovi is created
      File /aut/km/ex_proj/members/icrnkovi/startup is created

      Project create ex_proj completed


FILES

      /ipa/projects/project/info/overview
      /ipa/projects/project/tools/startup


DIRECTORIES

      /ipa/projects/project
      /ipa/projects/project/info
      /ipa/projects/project/doc
      /ipa/projects/project/tools
      /ipa/projects/project/systems
      /ipa/projects/project/members
      /ipa/projects/project/members/project_manager_userid


EXTERNAL INFLUENCES

      SDE_PROJECTS defines the directory where the projects are placed. The
      default value is /ipa/projects.


SEE ALSO

      X(1),  p_delete(1),  p_addmember(1)


AUTHOR

      Ivica Crnkovic