happy-monkey / ci-starter
There is no license information available for the latest version (1.1) of this package.
1.1
2023-02-21 08:49 UTC
Requires
- php: >=8.1
- ext-json: *
- agungsugiarto/codeigniter4-cors: ^2.0
- codeigniter4/framework: 4.2.10
- codeigniter4/translations: @rc
- firebase/php-jwt: ^5.2
- phpmailer/phpmailer: ^6.1
- robmorgan/phinx: ^0.11.4
README
Create a new project
To create a new project from scratch, juste run following command :
composer create-project happy-monkey/ci-starter <project_name>
Makefile commands
Assets
-
Run yarn install based on package.json. Packages will be downloaded in
/public/vendor
folder.make yarn
-
Run sass command to compile scss from
public/assets/scss
into compressed css inpublic/assets/css
folder.make sass
Composer commands
-
Install packages from composer.json.
make composer-install
-
Update composer packages.
make composer-update
-
Require a new package. The package name will be prompted after run command.
make composer-require
-
Remove a package. The package name will be prompted after run command.
make composer-remove
-
Display all package information.
make composer-info
Run project
-
Run this command the first time.
make init
This will execute following steps :
- install yarn dependencies
- compile css
- build docker image
- run composer install
-
Start project
make up
App URL : http://localhost:8080
phpMyAdmin URL : http://localhost:8001
MailHog URL : http://localhost:8025 -
Open shell in app container
make exec