@@ -7,9 +7,9 @@ Composer Installation
77
88Composer can be used in several ways to install CodeIgniter4 on your system.
99
10- The first two techniques describe creating a skeleton project
10+ The first technique describes creating a skeleton project
1111using CodeIgniter4, that you would then use as the base for a new webapp.
12- The third technique described below lets you add CodeIgniter4 to an existing
12+ The second technique described below lets you add CodeIgniter4 to an existing
1313webapp,
1414
1515.. note :: If you are using a Git repository to store your code, or for
@@ -27,8 +27,8 @@ the latest released version of the framework.
2727This installation technique would suit a developer who wishes to start
2828a new CodeIgniter4 based project.
2929
30- Installation & Set Up
31- ---------------------
30+ Installation
31+ ------------
3232
3333In the folder above your project root::
3434
@@ -52,7 +52,11 @@ A sample such installation command, using the default project-root "appstarter":
5252
5353 > composer create-project codeigniter4/appstarter --no-dev
5454
55- After installation you should follow the steps in the "Upgrading" section.
55+ Initial Configuration
56+ ---------------------
57+
58+ After installation, a few initial configurations are required.
59+ See :ref: `initial-configuration ` for the details.
5660
5761.. _app-starter-upgrading :
5862
@@ -126,6 +130,9 @@ The same `CodeIgniter 4 framework <https://github.com/codeigniter4/framework>`_
126130repository described in "Manual Installation" can also be added to an
127131existing project using Composer.
128132
133+ Installation
134+ ------------
135+
129136Develop your app inside the ``app `` folder, and the ``public `` folder
130137will be your document root.
131138
@@ -136,8 +143,8 @@ In your project root::
136143As with the earlier two composer install methods, you can omit installing
137144phpunit and its dependencies by adding the ``--no-dev `` argument to the ``composer require `` command.
138145
139- Set Up
140- ------
146+ Setting Up
147+ ----------
141148
142149Copy the ``app ``, ``public ``, and ``writable `` folders from ``vendor/codeigniter4/framework ``
143150to your project root
@@ -148,6 +155,12 @@ Copy the ``env``, ``phpunit.xml.dist`` and ``spark`` files, from
148155You will have to adjust the system path to refer to the vendor one, e.g., ``ROOTPATH . '/vendor/codeigniter4/framework/system' ``,
149156- the ``$systemDirectory `` variable in **app/Config/Paths.php **
150157
158+ Initial Configuration
159+ ---------------------
160+
161+ A few initial configurations are required.
162+ See :ref: `initial-configuration ` for the details.
163+
151164.. _adding-codeigniter4-upgrading :
152165
153166Upgrading
0 commit comments