https://github.com/bitfancy/adianti-frameworks
https://github.com/bitfancy/adianti-frameworks
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bitfancy/adianti-frameworks
- Owner: BitFancy
- License: other
- Created: 2024-01-18T16:18:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-18T16:23:46.000Z (about 2 years ago)
- Last Synced: 2025-04-10T21:16:55.909Z (11 months ago)
- Language: PHP
- Size: 3.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Adianti Framework Docker Setup
This repository has the objective of easily setup with Docker an [Adianti Framework](https://www.adianti.com.br/framework) project with MySQL based on [ERP Template 3](https://www.adianti.com.br/framework-template)
You can access the following applications after the setup:
- Adianti ERP 3: http://localhost
- PHP MyAdmin: http://localhost:8183
## Getting Started
```
git clone https://github.com/fancydeveloper/Adianti-Framewors.git
cd adianti-frameworks
```
Setup your database credentials in `docker-compose.yml` and `phinx.yml` and run the containers
```
docker-compose up
```
Install dependencies with composer
```
docker-compose exec php composer install
```
Acces PHP MyAdmin http://localhost:8183 and create your database
Setup database with migrations
```
docker-compose exec php php vendor/robmorgan/phinx/bin/phinx migrate -e development
```
Access the application: http://localhost
## Creating Migrations
To create migration [Phinx](https://phinx.org/) was choosed. You can check the documentation on this [link](http://docs.phinx.org/en/latest/intro.html)
To create new migrations with docker, run the following command:
```
docker-compose exec php php vendor/robmorgan/phinx/bin/phinx create MyNewMigration
```
## Adding Packages with Composer
You can add packages to your project with [Composer](https://getcomposer.org/).
To do this, run the following command:
```
docker-compose exec php composer require robmorgan/phinx
```