PHPackages                             team-nifty-gmbh/flux-erp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. team-nifty-gmbh/flux-erp

ActiveLibrary

team-nifty-gmbh/flux-erp
========================

v0.5.2(1y ago)313.5k↓19%[7 PRs](https://github.com/Team-Nifty-GmbH/flux-core/pulls)3MITPHPPHP ^8.3CI passing

Since Jul 25Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Team-Nifty-GmbH/flux-core)[ Packagist](https://packagist.org/packages/team-nifty-gmbh/flux-erp)[ Docs](https://flux-erp.com)[ RSS](/packages/team-nifty-gmbh-flux-erp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (37)Versions (110)Used By (3)

[![](https://user-images.githubusercontent.com/40495041/160839207-0e1593e0-ff3d-4407-b9d2-d3513c366ab9.svg)](https://team-nifty.com)

### 1. Installation

[](#1-installation)

Remove the welcome route from `routes/web.php`.

Add the following to your `config/filesystem.php` config file

```
    'links' => [
        ...
        public_path('flux') => base_path('vendor/team-nifty-gmbh/flux-erp/public'),
    ],
```

link the flux-erp assets

```
php artisan storage:link
```

This will create a symlink in `public/flux` to `vendor/team-nifty-gmbh/flux/public` which is where the flux-erp assets are stored.

If you want to use seeders add the following to your DatabaseSeeder.php file:

```
$this->call(\FluxErp\Database\Seeders\FluxSeeder::class);
```

Because vite includes the pusher data into the build process its neccessary to rebuild the assets after the installation.

```
vite build
```

Please keep in mind to do so after setting the pusher credentials in the .env file.

### 2. Development

[](#2-development)

If you want to develop for flux-erp you should publish the docker files (this runs nginx instead of artisan serve)

```
php artisan vendor:publish --tag="flux-docker"
```

Alternative you can change your docker-compose.yml file to use the flux-erp docker files from the vendor folder.

```
    laravel.test:
        build:
            context: ./vendor/team-nifty-gmbh/flux-erp/docker/8.4 #
