Changeset 90 for cleverbox/branches

Show
Ignore:
Timestamp:
07/10/06 13:26:59 (6 years ago)
Author:
trivoallan
Message:

Htdocs project dir creation.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cleverbox/branches/0.1/cleverbox/scripts/admin.py

    r85 r90  
    678678                self._project_write_apache_conf( collected_infos ) 
    679679 
     680                # -- Create required dirs 
     681                self._project_create_dirs( collected_infos ) 
     682 
    680683                # -- SVN repository creation 
    681684                self._project_create_svn_repos( collected_infos ) 
     
    705708        else: 
    706709            self.do_help('project') 
     710 
     711    def _project_create_dirs(self, infos): 
     712        os.makedirs(os.path.join(self.getConfig('clients_root', 'general'), 
     713                                 infos['client'], 
     714                                 'htdocs', 
     715                                 infos['short_name']), 0775) 
     716 
     717        print "  Creating project's directory layout\n" 
    707718 
    708719    def _project_write_apache_conf(self, infos): 
     
    717728# 
    718729#  Users are authenticated against Clever Age's Active Directory LDAP server 
    719 #  You can obtain the password by asking <infrastructure@clever-age.com> 
    720730# 
    721731