Building FOSSBilling
Before beginning, ensure you have the following installed:
- A version of PHP that’s still under official support.
- An up-to-date version of
composer
. - The current LTS version of
Node.JS
andNPM
.
Building FOSSBilling from the source code is rather simple and only requires a few simple steps.
- Clone the FOSSBilling repository and then move to that directory:
git clone https://github.com/FOSSBilling/FOSSBilling.git && cd FOSSBilling
- Install NPM dependencies:
npm i
- Install composer dependencies:
composer install
- Build the front-end assets:
npm run build
- (Optional) Download the latest translations from the locale repository and extract the contents to the
src/locale
directory. Ensure you overwrite any existing files. - That’s it, you’re done! You now have a built installation of FOSSBilling under the
src
directory which can be uploaded to a web server.