Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Install custom module in fresh Akaunting install

Ricardo Rodriguez    ( User )

Commented 3 years ago

How do you install a custom module that has been already developed in a fresh Akaunting install? Since I don't execute module:make Foo when I execute module:install 1 foo it is not working even though there exists /modules/Foo. Any ideas ?

Denis Duliçi    ( Admin )

Commented 3 years ago

What do you exactly mean by it's not working? What do you get instead?

Ricardo Rodriguez    ( User )

Commented 3 years ago

Hehe, my bad. I got an error saying that I couldn't call get() on null when executing module:install 1 foo. I did some research and I realized that calling module:list wouldn't show Foo. This happened because I ran composer install the first time without placing the module folder first, so I ran composer install again and I was able to run module:install 1 foo.


Just curious, what is the point to install it ? I ask this because without installing it I was able to use it. Is the point to be able to disable it ? ( not sure how to mention here @Denis Duliçi ) 

Denis Duliçi    ( Admin )

Commented 3 years ago

You may also try the artisan cache:clear command. Yes, to be able to disable it.

Please login or register to leave a response.

Showing 1 to 4 of 4 discussions