A full LAMP web system for small supermarkets
Important
This repo correspond with ASDR (Net Service Administration) IT technician matter
Me and @thiagofarias7 developed this project
You need to have installed Apache2, MariaDB and PHP, with mysqli extension, on your machine with the package manager of your distro linux (in this case, we used the Fedora35):
$ sudo dnf install httpd
$ sudo yum install -y mariadb mariadb-server
$ sudo yum install php-cli php-mysqli
For MariaDB and Git, you can found how in these docs:
$ git clone https://github.com/manuelzzz/smarket-web-management.git
First, run:
$ mysql -u root -p
After oppened the MariaDB-server run the SQL Script, it should look like:
$ php -S localhost:8080 lib/index.php
When running with php-cli, go to http://server-ip:8080
$ ifconfig
Note
You can use the /var/www/html/project-name instead php-cli to run the project direct in apache webserver
To access the site, go to http://server-ip/project-name
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request