Giter VIP home page Giter VIP logo

03-adminpro-api's Introduction

CodeIgniter 4

php spark serve

Server Requirements

PHP version 7.4 or higher is required, with the following extensions installed:

Additionally, make sure that the following extensions are enabled in your PHP:

  • json (enabled by default - don't turn it off)
  • xml (enabled by default - don't turn it off)
  • mysqlnd

Running CodeIgniter Tests

Information on running the CodeIgniter test suite can be found in the README.md file in the tests directory.


PUBLICAR en server compartido:

PHP >= 7.4.

cors:

https://github.com/agungsugiarto/codeigniter4-cors composer require agungsugiarto/codeigniter4-cors

modificar .env

CI_ENVIRONMENT = production app.baseURL = 'https://sprint09.cerolab.com/'

database.default.hostname = etzpmvnbob.mysql.db ... database.default.DBDriver = MySQLi

modificar public/.htaccess

RewriteRule ^(.*)$ index.php?/$1 [L]


vendor folder for deployment

Then building (I use Bamboo, but a shell script would do):

  1. clone the repository to a directory
  2. running composer install to install all packages (including development packages)
  3. running phpunit to go through all the tests
  4. running composer --no-dev update to remove all composer packages that are for development and testing
  5. deleting my own tests directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.