A complete platform for building web applications.
Download CodeIgniter4 framework
wget https://github.com/codeigniter4/CodeIgniter4/archive/develop.zip -O CodeIgniter4.zip
Uncompress the file:
unzip CodeIgniter4.zip -d ./
Rename the directory:
mv CodeIgniter4-develop/ CodeIgniter4/
Change to CodeIgniter4
directory:
cd CodeIgniter4
Copy env file to .env:
cp env .env
Edit your environment file .env
CI_ENVIRONMENT = development
app.baseURL = 'http://hostname.stg/'
app.sessionDriver = 'CodeIgniter\Session\Handlers\DatabaseHandler'
app.sessionSavePath = 'users_ses'
appTimezone = 'Asia/Riyadh'
default timezoneapp.defaultLocale = 'en'
default languageapp.salt = '40 chars'
, use head /dev/urandom | tr -dc A-Za-z0-9 | head -c 40
database.default.hostname = 'localhost'
database.default.database = 'ci4'
database.default.username = 'root'
database.default.password = 'root'
Create Commands
directory inside app
folder:
php -r "if(file_exists('app/Commands')==FALSE) mkdir('app/Commands');"
Download StorePull
command from ErtikazOS store.
php -r "copy('https://store.ertikazos.com/StorePull.phps', 'app/Commands/StorePull.php');"
Download Admin
package from ErtikazOS store.
php spark store:pull admin
Default username admin@ertikazos.com
and password is 12345678
.