def create_project(self, project_path):
        """
        Create Trionyx project in given path

        :param str path: path to create project in.
        :raises FileExistsError:
        """
        shutil.copytree(self.project_path, project_path)

        self.update_file(project_path, 'requirements.txt', {
            'trionyx_version': trionyx.__version__
        })

        self.update_file(project_path, 'config/local_settings.py', {
            'secret_key': utils.random_string(32)
        })
def create_project ( self , project_path ) : shutil . copytree ( self . project_path , project_path ) self . update_file ( project_path , 'requirements.txt' , { 'trionyx_version' : trionyx . __version__ } ) self . update_file ( project_path , 'config/local_settings.py' , { 'secret_key' : utils . random_string ( 32 ) } )
Create Trionyx project in given path

        :param str path: path to create project in.
        :raises FileExistsError: