• Create A Local CodeIgniter Repository Using PHPStorm
  • This tutorial will show you how to quickly and easily create a local CodeIgniter repository on your computer.  This is very handy if you are looking to start a new project very quickly without having to download the zip file from the Codeigniter website, extracting it and then copying the file to its required location, ideally the webserver where your files are hosted.

    Click on the Version Control menu, select Checkout from Version Control and finally select Mercurial.

    A dialog box similar to the one below will be displayed.  Set the repository URL to http://bitbucket.org/ellislab/codeigniter, the parent directory to the location of your webserver and set the Directory Name to what you want.  Just to be sure that the repositor URL is working, click on the Test Repository button.

    If connection is successful, the dialog below will be shown to you.  Click on OK to close the dialog box and click on the Clone button to start cloning the repository.

    Once the cloning process has started, you should be able to see the process on the status bar or you can check the background tasks.

    Once the process is complete, you will be prompted with a new dialog box asking you wif you wish to open the newly created directory. 

    Simply click on Yes and a new project will be created from the local repository that you have just created.  You should now be able to use this local repository as a base for you new projects.

    You should now have more options under Version Control menu which will allow you to commit changes, pull changesets etc...

    And that concludes this tutorial, hope you have all found it very useful.


« Previous Article Next Article »



Related Articles