@@ -7,9 +7,9 @@ Composer Installation
7
7
8
8
Composer can be used in several ways to install CodeIgniter4 on your system.
9
9
10
- The first two techniques describe creating a skeleton project
10
+ The first technique describes creating a skeleton project
11
11
using 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
13
13
webapp,
14
14
15
15
.. 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.
27
27
This installation technique would suit a developer who wishes to start
28
28
a new CodeIgniter4 based project.
29
29
30
- Installation & Set Up
31
- ---------------------
30
+ Installation
31
+ ------------
32
32
33
33
In the folder above your project root::
34
34
@@ -52,7 +52,11 @@ A sample such installation command, using the default project-root "appstarter":
52
52
53
53
> composer create-project codeigniter4/appstarter --no-dev
54
54
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.
56
60
57
61
.. _app-starter-upgrading :
58
62
@@ -126,6 +130,9 @@ The same `CodeIgniter 4 framework <https://github.com/codeigniter4/framework>`_
126
130
repository described in "Manual Installation" can also be added to an
127
131
existing project using Composer.
128
132
133
+ Installation
134
+ ------------
135
+
129
136
Develop your app inside the ``app `` folder, and the ``public `` folder
130
137
will be your document root.
131
138
@@ -136,8 +143,8 @@ In your project root::
136
143
As with the earlier two composer install methods, you can omit installing
137
144
phpunit and its dependencies by adding the ``--no-dev `` argument to the ``composer require `` command.
138
145
139
- Set Up
140
- ------
146
+ Setting Up
147
+ ----------
141
148
142
149
Copy the ``app ``, ``public ``, and ``writable `` folders from ``vendor/codeigniter4/framework ``
143
150
to your project root
@@ -148,6 +155,12 @@ Copy the ``env``, ``phpunit.xml.dist`` and ``spark`` files, from
148
155
You will have to adjust the system path to refer to the vendor one, e.g., ``ROOTPATH . '/vendor/codeigniter4/framework/system' ``,
149
156
- the ``$systemDirectory `` variable in **app/Config/Paths.php **
150
157
158
+ Initial Configuration
159
+ ---------------------
160
+
161
+ A few initial configurations are required.
162
+ See :ref: `initial-configuration ` for the details.
163
+
151
164
.. _adding-codeigniter4-upgrading :
152
165
153
166
Upgrading
0 commit comments