Installation & Configuration
Installing and setting up AureusERP is quick and straightforward. Follow the steps below to get started:
1. Clone or Download the Repository
You can get the latest version of AureusERP from GitHub:
git clone https://github.com/aureuserp/aureuserp.gitAlternatively, you can download the ZIP file from the repository and extract it.
2. Navigate to the Project Root
cd aureuserp3. Install PHP Dependencies
Run the following command to install the required PHP dependencies:
composer install4. Configure the Environment File
Copy the example environment file and generate the application key:
cp .env.example .env
php artisan key:generateBy default, the application uses MySQL (DB_CONNECTION=mysql). Edit the .env file and configure the database settings as per your environment:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_passwordOr, to use MariaDB 10.6+:
DB_CONNECTION=mariadb
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_passwordOr, to use PostgreSQL 16+ (supported as of v1.5.0):
DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password5. Run the Installation Command
Execute the following command to install AureusERP:
php artisan erp:installThe command can also be run non-interactively by passing the admin credentials as options:
php artisan erp:install --admin-name="Administrator" --admin-email="admin@example.com" --admin-password="password"6. What Happens During Installation?
a. Migrations
- All migrations are executed to set up the database schema.
b. Roles & Permissions
- The
Filament Shieldpackage automatically generates roles and permissions for the application, and all permissions are assigned to the admin role.
c. Storage Link
- A symbolic link from
public/storagetostorage/app/publicis created if it does not already exist.
d. Seeders
- Seeders are executed to populate initial data, including the default company.
e. Admin User & Default Settings
- The admin user is created, assigned the admin role, and linked to the default company, and the default settings (company, role, and currency) are synced.
7. Admin Account Setup
During the installation, you will be prompted to provide Admin Login Credentials (name, email, and password). These credentials are used to log in to the admin panel. The password must be at least 8 characters long.
Reinstallation
If AureusERP is already installed, running php artisan erp:install again will ask for explicit confirmation and then wipe the database before reinstalling. This action cannot be undone.
8. Filament Installation Notes
- AureusERP uses FilamentPHP, which introduces new features and improvements.
- Ensure your PHP version is compatible (PHP 8.3 or higher required).
- The installation process automatically sets up Filament Shield roles and permissions.
- Filament resources, pages, clusters, and widgets are registered separately for admin and customer panels.
- For plugin development, follow the new Filament resource registration structure.
- The
composer.jsonincludes a post-autoload-dump script that runsphp artisan filament:upgradeto handle Filament upgrades. - Refer to the FilamentPHP documentation for detailed information.
9. Final Steps
Once the installation is complete, you can start the development server:
php artisan serveThen, open your browser and access the application at:
http://127.0.0.1:8000That’s it! Your AureusERP environment is now ready to use.