Core development /
Clone the Git Repository

Warning: This method should only be used
for doing work directly on the internal Bolt code base, and is not supported as
a general installation option.

Installing Bolt directly from the Git repository requires both Git and Composer
to be installed and working correctly. See this GitHub page for details
on setting up Git, and the Composer Download page for instructions
on obtaining and setting up an up-to-date copy of Composer.

Additionally, you need to decide if you want to use a stable branch (bug-fixing
a stable or beta release), a feature branch for contributing a feature to the
next Bolt minor release, or the bleeding-edge master branch which will become
the next major version of Bolt.

At a high-level, the process is as follows:

Clone the repository

Checkout the required branch

Install dependant packages via Composer

For example, the following would clone the Bolt repository automatically
checking out the default branch, and installing dependant packages:

git clone git://github.com/bolt/bolt.git
cd bolt
composer install

Note: Bolt uses the current stable release
branch as its default when cloning the repository.

After extracting the tar file, you'll end up with a structure, containing the
bolt files. These are the folders that contain all of the Bolt code, resources
and other files. Unlike the other methods of installation, all of them are
placed in the top level of the so-called web root. The created bolt/ folder
where you've made the git checkout needs to be accessible in the browser.

To do this, configure your web server to use the bolt/ folder as the
web root. For more information about this, see the pages on configuring
Apache or Nginx.