|
1 | 1 | # Liberu Automation
|
2 |
| -Control Panel and Billing System. |
3 | 2 |
|
4 | 3 | 
|
5 | 4 | 
|
6 | 5 | 
|
7 | 6 | 
|
8 | 7 | 
|
9 | 8 |
|
| 9 | +[](https://github.com/liberu-automation/automation-laravel/actions/workflows/install.yml) |
| 10 | +[](https://github.com/liberu-automation/automation-laravel/actions/workflows/tests.yml) |
| 11 | + |
| 12 | + |
| 13 | + |
10 | 14 | ### Other active projects
|
11 | 15 | * https://github.com/liberu-accounting/accounting-laravel
|
| 16 | +* https://github.com/liberu-automation/automation-laravel |
12 | 17 | * https://github.com/liberu-cms/cms-laravel
|
13 | 18 | * https://github.com/liberu-crm/crm-laravel
|
14 | 19 | * https://github.com/liberu-ecommerce/ecommerce-laravel
|
15 | 20 | * https://github.com/liberu-maintenance/maintenance-laravel
|
16 | 21 | * https://github.com/liberu-real-estate/real-estate-laravel
|
17 | 22 |
|
| 23 | +## Setup |
| 24 | + |
| 25 | +1. Ensure your environment is set up with PHP 8.3 and Composer installed. |
| 26 | +2. Download the project files from this GitHub repository. |
| 27 | +3. Open a terminal in the project folder. If you are on Windows and have Git Bash installed, you can use it for the following steps. |
| 28 | +4. Run the following command: |
| 29 | + |
| 30 | +```bash |
| 31 | +./setup.sh |
| 32 | +``` |
| 33 | + |
| 34 | +and everything should be installed automatically if you are using Linux you just run the script as you normally run scripts in the terminal. |
| 35 | + |
| 36 | +NOTE 1: The script will ask you if you want to have your .env be overwritten by .env.example, in case you have already an .env configuration available please answer with "n" (No). |
| 37 | + |
| 38 | +NOTE 2: This script will run seeders, please make sure you are aware of this and don't run this script if you don't want this to happen. |
| 39 | +```bash |
| 40 | +composer install |
| 41 | +php artisan key:generate |
| 42 | +php artisan migrate --seed |
| 43 | +``` |
| 44 | +This will install the necessary dependencies, generate an application key, and set up your database with initial data. |
| 45 | + |
| 46 | +NOTE 3: Ensure your `.env` file is correctly configured with your database connection details before running migrations. |
| 47 | + |
| 48 | +## Building with Docker |
| 49 | + |
| 50 | +Alternatively, you can build and run the project using Docker. To build the Dockerfile, follow these steps: |
| 51 | + |
| 52 | +1. Ensure you have Docker installed on your system. |
| 53 | +2. Open a terminal in the project folder. |
| 54 | +3. Run the following command to build the Docker image: |
| 55 | + ``` |
| 56 | + docker build -t automation-laravel . |
| 57 | + ``` |
| 58 | +4. Once the image is built, you can run the container with: |
| 59 | + ``` |
| 60 | + docker run -p 8000:8000 automation-laravel |
| 61 | + ``` |
| 62 | + |
| 63 | +NOTE 3: Ensure your `.env` file is correctly configured with your database connection details before running migrations. |
| 64 | + |
| 65 | +### Using Laravel Sail |
| 66 | + |
| 67 | +This project also includes support for Laravel Sail, which provides a Docker-based development environment. To use Laravel Sail, follow these steps: |
| 68 | + |
| 69 | +1. Ensure you have Docker installed on your system. |
| 70 | +2. Open a terminal in the project folder. |
| 71 | +3. Run the following command to start the Laravel Sail environment: |
| 72 | + ``` |
| 73 | + ./vendor/bin/sail up |
| 74 | + ``` |
| 75 | +4. Once the containers are running, you can access the application at `http://localhost`. |
| 76 | +5. To stop the Sail environment, press `Ctrl+C` in the terminal. |
| 77 | + |
| 78 | +For more information on using Laravel Sail, refer to the [official documentation](https://laravel.com/docs/sail). |
| 79 | + |
18 | 80 | ### Description
|
19 | 81 | Welcome to Liberu Automation, our revolutionary open-source project that redefines the world of web hosting control and billing. With the powerful combination of Laravel 11, PHP 8.3, Livewire 3, and Filament 3, Liberu Automation is not just a control panel – it's a dynamic solution designed to streamline web hosting management and billing processes with efficiency and innovation.
|
20 | 82 |
|
|
0 commit comments