GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OrifInformatique/stock: Gestion du stock de section en PHP / MySQL

BranchesTags
Open more actions menu

Latest commit

 

History

656 Commits
656 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
ci-application
ci-application
 
 
docker
docker
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
conventions.md
conventions.md
 
 
docker-compose.yml
docker-compose.yml
 
 
env_dist
env_dist
 
 

Repository files navigation

Stock

Web application to manage items inventory, loans and more.

Getting Started

These instructions will get you a docker environment up and running on your local machine for development and testing purposes.

Prerequisites

This project is developed on a Docker environment with PHP 8.1 and MariaDB 10.11. It is based on the CodeIgniter 4.x framework. To run it with Docker you need to install Docker Desktop at first.

Installing

  1. Clone the project
  2. Create a copy of the project root's "env_dist" file and rename it to .env, uncomment informations and adapt them if needed
  3. From a terminal, go into the "ci-application" directory and run composer install to download required php packages (you have to install composer at first, you can get it here)
  4. In the "ci-application" directory, create a copy of the "env_dist" file and rename it to .env, then adapt it to your Docker's parameters
FOR EXAMPLE

[...]

CI_ENVIRONMENT = development

[...]

app.baseURL = 'http://localhost/public/'

[...]

database.default.hostname = mariadb
database.default.database = stock_db
database.default.username = stock_user
database.default.password = stock_password
database.default.DBDriver = MySQLi

[...]

  1. From a terminal, go into the root directory and run docker-compose up --build
  2. Access a terminal in the Docker apache container with docker-compose exec apache bash
  3. From this terminal, generate the database in mariadb Docker's container running CodeIgniter's spark migrate commands
php spark migrate -n Stock
php spark migrate -n User
  1. Access your application (http://localhost/public)
  2. Access phpMyAdmin (http://localhost:8080/)

Run tests

  1. Access a terminal in the Docker apache container with docker-compose exec apache bash
  2. Run vendor/bin/phpunit

Built With

  • CodeIgniter 4.x - PHP framework
  • Bootstrap - Design library with personalized css

Authors

  • Orif, domaine informatique - Initiating and following the project - GitHub account

See also the list of contributors who participated in this project.

About

Gestion du stock de section en PHP / MySQL

Resources

Readme
MIT license
Activity
Custom properties

Stars

5 stars

Watchers

3 watching

Forks

12 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.