Web application to manage items inventory, loans and more.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
This project is developed on a LAMP server with PHP 7.4 and MariaDB 10.4. It is based on the CodeIgniter 4.x framework.
- Download our latest release
- Unzip your download in your project's directory (in your local PHP server)
- Rename .env_dist file to .env and adapt it for your server's parameters
- Generate a local database running CodeIgniter's spark migrate command
php spark migrate -all
This upgrade makes lot of changes as the application is adapted to new CodeIgniter 4.x. Please follow carefully these steps and try it in a test environment before.
- BE SURE TO HAVE A COMPLETE BACKUP OF YOUR APPLICATION (DATABASE AND FILES)
- With FTP connexion, remove all files and folder from the hosting server, except for the "uploads" folder
- With FTP connexion, upload all the content of Version 4.0 release to the hosting server
- Move the "uploads" folder from root to "public" folder
- Rename the .env_dist file to .env and adapt its content to your hosting environment
- Delete the orif/stock/Database/Migrations/restore_CI3_version folder
- Browse to APPLICATION_URL/stock/migrate/toCI4
- Enter the password that you can find in orif/stock/Controllers/Migrate.php (line 49) and validate
- Delete the file orif/stock/Controllers/Migrate.php
- Delete the folder orif/stock/Views/migration
- Browse to the application and connect with an administrator account
- Browse to APPLICATION_URL/clean_images/index
- Click on "Yes" to execute the script which will clean up the items images
- Delete the file orif/stock/Controllers/Clean_images.php
- Delete the folder orif/stock/Views/admin/clean_images
- Delete the folder orif/stock/Commands
- VERIFY THAT ALL THE APPLICATION WORKS WELL
- CodeIgniter 4.x - PHP framework
- Bootstrap - Design library with personalized css
- Orif, domaine informatique - Initiating and following the project - GitHub account
See also the list of contributors who participated in this project.