public function setupProject()
    {
        $this->taskWriteToFile(ProjectX::projectRoot() . '/.gitignore')
            ->text($this->loadTemplateContents('.gitignore.txt'))
            ->place('PROJECT_ROOT', $this->getInstallRoot(true))
            ->run();

        return $this;
    }
public function setupProject()
    {
        $this->taskWriteToFile(ProjectX::projectRoot() . '/.gitignore')
            ->text($this->loadTemplateContents('.gitignore.txt'))
            ->place('PROJECT_ROOT', $this->getInstallRoot(true))
            ->run();

        return $this;
    }
public function setupProject ( ) { $ this -> taskWriteToFile ( ProjectX :: projectRoot ( ) . '/.gitignore' ) -> text ( $ this -> loadTemplateContents ( '.gitignore.txt' ) ) -> place ( 'PROJECT_ROOT' , $ this -> getInstallRoot ( true ) ) -> run ( ) ; return $ this ; }
Setup project.

The setup process consist of the following:
- Copy over .gitignore file to project root.

@return self
Setup project .